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 ofGwtStepImplementationDto.Use the builder to create immutable instances:
ImmutableGwtStepImplementationDto.builder().
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImmutableGwtStepImplementationDto.BuilderBuilds instances of typeImmutableGwtStepImplementationDto.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmutableGwtStepImplementationDto.Builderbuilder()Creates a builder forImmutableGwtStepImplementationDto.static ImmutableGwtStepImplementationDtocopyOf(GwtStepImplementationDto instance)Creates an immutable copy of aGwtStepImplementationDtovalue.booleanequals(Object another)This instance is equal to all instances ofImmutableGwtStepImplementationDtothat have equal attribute values.inthashCode()Computes a hash code from attributes:task,type,target,xRef,inputs,outputs,validations.Map<String,Object>inputs()Map<String,Object>outputs()Stringtarget()Stringtask()StringtoString()Prints the immutable valueGwtStepImplementationDtowith attribute values.Stringtype()Map<String,Object>validations()ImmutableGwtStepImplementationDtowithInputs(Map<String,? extends Object> entries)Copy the current immutable object by replacing theinputsmap with the specified map.ImmutableGwtStepImplementationDtowithOutputs(Map<String,? extends Object> entries)Copy the current immutable object by replacing theoutputsmap with the specified map.ImmutableGwtStepImplementationDtowithTarget(String value)Copy the current immutable object by setting a value for thetargetattribute.ImmutableGwtStepImplementationDtowithTask(String value)Copy the current immutable object by setting a value for thetaskattribute.ImmutableGwtStepImplementationDtowithType(String value)Copy the current immutable object by setting a value for thetypeattribute.ImmutableGwtStepImplementationDtowithValidations(Map<String,? extends Object> entries)Copy the current immutable object by replacing thevalidationsmap with the specified map.ImmutableGwtStepImplementationDtowithXRef(String value)Copy the current immutable object by setting a value for thexRefattribute.StringxRef()
-
-
-
Method Detail
-
task
public String task()
- Specified by:
taskin interfaceGwtStepImplementationDto- Returns:
- The value of the
taskattribute
-
type
public String type()
- Specified by:
typein interfaceGwtStepImplementationDto- Returns:
- The value of the
typeattribute
-
target
public String target()
- Specified by:
targetin interfaceGwtStepImplementationDto- Returns:
- The value of the
targetattribute
-
xRef
public String xRef()
- Specified by:
xRefin interfaceGwtStepImplementationDto- Returns:
- The value of the
xRefattribute
-
inputs
public Map<String,Object> inputs()
- Specified by:
inputsin interfaceGwtStepImplementationDto- Returns:
- The value of the
inputsattribute
-
outputs
public Map<String,Object> outputs()
- Specified by:
outputsin interfaceGwtStepImplementationDto- Returns:
- The value of the
outputsattribute
-
validations
public Map<String,Object> validations()
- Specified by:
validationsin interfaceGwtStepImplementationDto- Returns:
- The value of the
validationsattribute
-
withTask
public final ImmutableGwtStepImplementationDto withTask(String value)
Copy the current immutable object by setting a value for thetaskattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for task- Returns:
- A modified copy of the
thisobject
-
withType
public final ImmutableGwtStepImplementationDto withType(String value)
Copy the current immutable object by setting a value for thetypeattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for type- Returns:
- A modified copy of the
thisobject
-
withTarget
public final ImmutableGwtStepImplementationDto withTarget(String value)
Copy the current immutable object by setting a value for thetargetattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for target- Returns:
- A modified copy of the
thisobject
-
withXRef
public final ImmutableGwtStepImplementationDto withXRef(String value)
Copy the current immutable object by setting a value for thexRefattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for xRef- Returns:
- A modified copy of the
thisobject
-
withInputs
public final ImmutableGwtStepImplementationDto withInputs(Map<String,? extends Object> entries)
Copy the current immutable object by replacing theinputsmap 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 returningthis.- Parameters:
entries- The entries to be added to the inputs map- Returns:
- A modified copy of
thisobject
-
withOutputs
public final ImmutableGwtStepImplementationDto withOutputs(Map<String,? extends Object> entries)
Copy the current immutable object by replacing theoutputsmap 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 returningthis.- Parameters:
entries- The entries to be added to the outputs map- Returns:
- A modified copy of
thisobject
-
withValidations
public final ImmutableGwtStepImplementationDto withValidations(Map<String,? extends Object> entries)
Copy the current immutable object by replacing thevalidationsmap 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 returningthis.- Parameters:
entries- The entries to be added to the validations map- Returns:
- A modified copy of
thisobject
-
equals
public boolean equals(@Nullable Object another)This instance is equal to all instances ofImmutableGwtStepImplementationDtothat have equal attribute values.
-
hashCode
public int hashCode()
Computes a hash code from attributes:task,type,target,xRef,inputs,outputs,validations.
-
toString
public String toString()
Prints the immutable valueGwtStepImplementationDtowith attribute values.
-
copyOf
public static ImmutableGwtStepImplementationDto copyOf(GwtStepImplementationDto instance)
Creates an immutable copy of aGwtStepImplementationDtovalue. 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
public static ImmutableGwtStepImplementationDto.Builder builder()
Creates a builder forImmutableGwtStepImplementationDto.ImmutableGwtStepImplementationDto.builder() .task(String) // optionaltask.type(String) // optionaltype.target(String) // optionaltarget.xRef(String) // optionalxRef.putInputs|putAllInputs(String => Object) //inputsmappings .putOutputs|putAllOutputs(String => Object) //outputsmappings .putValidations|putAllValidations(String => Object) //validationsmappings .build();- Returns:
- A new ImmutableGwtStepImplementationDto builder
-
-