Class ImmutableTagProgram
java.lang.Object
io.resys.hdes.client.api.programs.ImmutableTagProgram
- All Implemented Interfaces:
Program,TagProgram,Serializable
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableTagProgram
extends Object
implements TagProgram
Immutable implementation of
TagProgram.
Use the builder to create immutable instances:
ImmutableTagProgram.builder().
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableTagProgram.Nested classes/interfaces inherited from interface io.resys.hdes.client.api.programs.Program
Program.ExecutionLog, Program.FlowExecutionLog, Program.ProgramContext, Program.ProgramContextNamedValue, Program.ProgramResult -
Method Summary
Modifier and TypeMethodDescriptionstatic ImmutableTagProgram.Builderbuilder()Creates a builder forImmutableTagProgram.static ImmutableTagProgramcopyOf(TagProgram instance) Creates an immutable copy of aTagProgramvalue.booleanThis instance is equal to all instances ofImmutableTagProgramthat have equal attribute values.inthashCode()Returns a constant hash code value.toString()Prints the immutable valueTagProgram.
-
Method Details
-
equals
This instance is equal to all instances ofImmutableTagProgramthat have equal attribute values. -
hashCode
public int hashCode()Returns a constant hash code value. -
toString
Prints the immutable valueTagProgram. -
copyOf
Creates an immutable copy of aTagProgramvalue. 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 TagProgram instance
-
builder
Creates a builder forImmutableTagProgram.ImmutableTagProgram.builder() .build();- Returns:
- A new ImmutableTagProgram builder
-