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().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableGwtStepImplementationDto. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableGwtStepImplementationDto.copyOf(GwtStepImplementationDto instance) Creates an immutable copy of aGwtStepImplementationDtovalue.booleanThis 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.inputs()outputs()target()task()toString()Prints the immutable valueGwtStepImplementationDtowith attribute values.type()withInputs(Map<String, ? extends Object> entries) Copy the current immutable object by replacing theinputsmap with the specified map.withOutputs(Map<String, ? extends Object> entries) Copy the current immutable object by replacing theoutputsmap with the specified map.withTarget(String value) Copy the current immutable object by setting a value for thetargetattribute.Copy the current immutable object by setting a value for thetaskattribute.Copy the current immutable object by setting a value for thetypeattribute.withValidations(Map<String, ? extends Object> entries) Copy the current immutable object by replacing thevalidationsmap with the specified map.Copy the current immutable object by setting a value for thexRefattribute.xRef()
-
Method Details
-
task
- Specified by:
taskin interfaceGwtStepImplementationDto- Returns:
- The value of the
taskattribute
-
type
- Specified by:
typein interfaceGwtStepImplementationDto- Returns:
- The value of the
typeattribute
-
target
- Specified by:
targetin interfaceGwtStepImplementationDto- Returns:
- The value of the
targetattribute
-
xRef
- Specified by:
xRefin interfaceGwtStepImplementationDto- Returns:
- The value of the
xRefattribute
-
inputs
- Specified by:
inputsin interfaceGwtStepImplementationDto- Returns:
- The value of the
inputsattribute
-
outputs
- Specified by:
outputsin interfaceGwtStepImplementationDto- Returns:
- The value of the
outputsattribute
-
validations
- Specified by:
validationsin interfaceGwtStepImplementationDto- Returns:
- The value of the
validationsattribute
-
withTask
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
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
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
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
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
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
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
Prints the immutable valueGwtStepImplementationDtowith attribute values. -
copyOf
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
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
-