Class ImmutableGwtStepImplementationDto

java.lang.Object
com.chutneytesting.scenario.api.raw.dto.ImmutableGwtStepImplementationDto
All Implemented Interfaces:
GwtStepImplementationDto

@ParametersAreNonnullByDefault @Generated("org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableGwtStepImplementationDto extends Object implements GwtStepImplementationDto
Immutable implementation of GwtStepImplementationDto.

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

  • Method Details

    • task

      public String task()
      Specified by:
      task in interface GwtStepImplementationDto
      Returns:
      The value of the task attribute
    • type

      public String type()
      Specified by:
      type in interface GwtStepImplementationDto
      Returns:
      The value of the type attribute
    • target

      public String target()
      Specified by:
      target in interface GwtStepImplementationDto
      Returns:
      The value of the target attribute
    • xRef

      public String xRef()
      Specified by:
      xRef in interface GwtStepImplementationDto
      Returns:
      The value of the xRef attribute
    • inputs

      public Map<String,Object> inputs()
      Specified by:
      inputs in interface GwtStepImplementationDto
      Returns:
      The value of the inputs attribute
    • outputs

      public Map<String,Object> outputs()
      Specified by:
      outputs in interface GwtStepImplementationDto
      Returns:
      The value of the outputs attribute
    • validations

      public Map<String,Object> validations()
      Specified by:
      validations in interface GwtStepImplementationDto
      Returns:
      The value of the validations attribute
    • withTask

      public final ImmutableGwtStepImplementationDto withTask(String value)
      Copy the current immutable object by setting a value for the task attribute. An equals check used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for task
      Returns:
      A modified copy of the this object
    • withType

      public final ImmutableGwtStepImplementationDto withType(String value)
      Copy the current immutable object by setting a value for the type attribute. An equals check used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for type
      Returns:
      A modified copy of the this object
    • withTarget

      public final ImmutableGwtStepImplementationDto withTarget(String value)
      Copy the current immutable object by setting a value for the target attribute. An equals check used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for target
      Returns:
      A modified copy of the this object
    • withXRef

      public final ImmutableGwtStepImplementationDto withXRef(String value)
      Copy the current immutable object by setting a value for the xRef attribute. An equals check used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for xRef
      Returns:
      A modified copy of the this object
    • withInputs

      public final ImmutableGwtStepImplementationDto withInputs(Map<String,? extends Object> entries)
      Copy the current immutable object by replacing the inputs map with the specified map. Nulls are not permitted as keys or values. A shallow reference equality check is used to prevent copying of the same value by returning this.
      Parameters:
      entries - The entries to be added to the inputs map
      Returns:
      A modified copy of this object
    • withOutputs

      public final ImmutableGwtStepImplementationDto withOutputs(Map<String,? extends Object> entries)
      Copy the current immutable object by replacing the outputs map with the specified map. Nulls are not permitted as keys or values. A shallow reference equality check is used to prevent copying of the same value by returning this.
      Parameters:
      entries - The entries to be added to the outputs map
      Returns:
      A modified copy of this object
    • withValidations

      public final ImmutableGwtStepImplementationDto withValidations(Map<String,? extends Object> entries)
      Copy the current immutable object by replacing the validations map with the specified map. Nulls are not permitted as keys or values. A shallow reference equality check is used to prevent copying of the same value by returning this.
      Parameters:
      entries - The entries to be added to the validations map
      Returns:
      A modified copy of this object
    • equals

      public boolean equals(@Nullable Object another)
      This instance is equal to all instances of ImmutableGwtStepImplementationDto that have equal attribute values.
      Overrides:
      equals in class Object
      Returns:
      true if this is equal to another instance
    • hashCode

      public int hashCode()
      Computes a hash code from attributes: task, type, target, xRef, inputs, outputs, validations.
      Overrides:
      hashCode in class Object
      Returns:
      hashCode value
    • toString

      public String toString()
      Prints the immutable value GwtStepImplementationDto with attribute values.
      Overrides:
      toString in class Object
      Returns:
      A string representation of the value
    • copyOf

      Creates an immutable copy of a GwtStepImplementationDto value. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.
      Parameters:
      instance - The instance to copy
      Returns:
      A copied immutable GwtStepImplementationDto instance
    • builder

      Creates a builder for ImmutableGwtStepImplementationDto.
       ImmutableGwtStepImplementationDto.builder()
          .task(String) // optional task
          .type(String) // optional type
          .target(String) // optional target
          .xRef(String) // optional xRef
          .putInputs|putAllInputs(String => Object) // inputs mappings
          .putOutputs|putAllOutputs(String => Object) // outputs mappings
          .putValidations|putAllValidations(String => Object) // validations mappings
          .build();
       
      Returns:
      A new ImmutableGwtStepImplementationDto builder