Tabnine Logo
ImmutableGoToNextIteration
Code IndexAdd Tabnine to your IDE (free)

How to use
ImmutableGoToNextIteration
in
com.neotys.neoload.model.repository

Best Java code snippets using com.neotys.neoload.model.repository.ImmutableGoToNextIteration (Showing top 8 results out of 315)

origin: com.neotys.neoload/neoload-project

/**
 * Copy the current immutable object by setting a value for the {@link GoToNextIteration#getName() name} attribute.
 * An equals check used to prevent copying of the same value by returning {@code this}.
 * @param value A new value for name
 * @return A modified copy of the {@code this} object
 */
public final ImmutableGoToNextIteration withName(String value) {
 if (this.name.equals(value)) return this;
 String newValue = Objects.requireNonNull(value, "name");
 return new ImmutableGoToNextIteration(newValue, this.description);
}
origin: com.neotys.neoload/neoload-project

/**
 * This instance is equal to all instances of {@code ImmutableGoToNextIteration} that have equal attribute values.
 * @return {@code true} if {@code this} is equal to {@code another} instance
 */
@Override
public boolean equals(@Nullable Object another) {
 if (this == another) return true;
 return another instanceof ImmutableGoToNextIteration
   && equalTo((ImmutableGoToNextIteration) another);
}
origin: com.neotys.neoload/loadrunner-reader

private List<Element> buildGoToNextIterations(final MethodCall method, final ExitStatus exitStatus) {
  ImmutableList.Builder<Element> builder = ImmutableList.builder();
  buildJavaScriptIfNeeded(exitStatus).ifPresent(builder::add);
  builder.add(ImmutableGoToNextIteration.builder()
      .name(MethodUtils.unquote(method.getName()))
      .build());
  return builder.build();
}
origin: com.neotys.neoload/neoload-project

/**
 * Creates an immutable copy of a {@link GoToNextIteration} value.
 * Uses accessors to get values to initialize the new immutable instance.
 * If an instance is already immutable, it is returned as is.
 * @param instance The instance to copy
 * @return A copied immutable GoToNextIteration instance
 */
public static ImmutableGoToNextIteration copyOf(GoToNextIteration instance) {
 if (instance instanceof ImmutableGoToNextIteration) {
  return (ImmutableGoToNextIteration) instance;
 }
 return ImmutableGoToNextIteration.builder()
   .from(instance)
   .build();
}
origin: com.neotys.neoload/neoload-project

/**
 * @param json A JSON-bindable data structure
 * @return An immutable value type
 * @deprecated Do not use this method directly, it exists only for the <em>Jackson</em>-binding infrastructure
 */
@Deprecated
@JsonCreator(mode = JsonCreator.Mode.DELEGATING)
static ImmutableGoToNextIteration fromJson(Json json) {
 ImmutableGoToNextIteration.Builder builder = ImmutableGoToNextIteration.builder();
 if (json.name != null) {
  builder.name(json.name);
 }
 if (json.description != null) {
  builder.description(json.description);
 }
 return builder.build();
}
origin: com.neotys.neoload/neoload-project

/**
 * Copy the current immutable object by setting a <i>present</i> value for the optional {@link GoToNextIteration#getDescription() description} attribute.
 * @param value The value for description
 * @return A modified copy of {@code this} object
 */
public final ImmutableGoToNextIteration withDescription(String value) {
 @Nullable String newValue = Objects.requireNonNull(value, "description");
 if (Objects.equals(this.description, newValue)) return this;
 return new ImmutableGoToNextIteration(this.name, newValue);
}
origin: com.neotys.neoload/neoload-project

/**
 * Copy the current immutable object by setting an optional value for the {@link GoToNextIteration#getDescription() description} attribute.
 * An equality check is used on inner nullable value to prevent copying of the same value by returning {@code this}.
 * @param optional A value for description
 * @return A modified copy of {@code this} object
 */
public final ImmutableGoToNextIteration withDescription(Optional<String> optional) {
 @Nullable String value = optional.orElse(null);
 if (Objects.equals(this.description, value)) return this;
 return new ImmutableGoToNextIteration(this.name, value);
}
origin: com.neotys.neoload/neoload-project

/**
 * Builds a new {@link ImmutableGoToNextIteration ImmutableGoToNextIteration}.
 * @return An immutable instance of GoToNextIteration
 * @throws java.lang.IllegalStateException if any required attributes are missing
 */
public ImmutableGoToNextIteration build() {
 if (initBits != 0) {
  throw new IllegalStateException(formatRequiredAttributesMessage());
 }
 return new ImmutableGoToNextIteration(name, description);
}
com.neotys.neoload.model.repositoryImmutableGoToNextIteration

Javadoc

Immutable implementation of GoToNextIteration.

Use the builder to create immutable instances: ImmutableGoToNextIteration.builder().

Most used methods

  • builder
    Creates a builder for ImmutableGoToNextIteration.
  • <init>
  • equalTo

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSharedPreferences (Context)
  • setContentView (Activity)
  • putExtra (Intent)
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now