Record Class JobActionPlan
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.platform.models.core.nonentities.job.JobActionPlan
- Record Components:
sequence- durable presentation and execution ordername- internal action namedisplayName- operator-facing action namehandlerKey- registered Spring handler keyhandlerVersion- handler contract versioninput- versioned action inputtimeoutSeconds- optional action timeout
-
Constructor Summary
ConstructorsConstructorDescriptionJobActionPlan(int sequence, String name, String displayName, String handlerKey, int handlerVersion, JobPayload input, Integer timeoutSeconds) Creates an instance of aJobActionPlanrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedisplayNamerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thehandlerKeyrecord component.intReturns the value of thehandlerVersionrecord component.final inthashCode()Returns a hash code value for this object.input()Returns the value of theinputrecord component.name()Returns the value of thenamerecord component.intsequence()Returns the value of thesequencerecord component.Returns the value of thetimeoutSecondsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
JobActionPlan
public JobActionPlan(int sequence, String name, String displayName, String handlerKey, int handlerVersion, JobPayload input, Integer timeoutSeconds) Creates an instance of aJobActionPlanrecord class.- Parameters:
sequence- the value for thesequencerecord componentname- the value for thenamerecord componentdisplayName- the value for thedisplayNamerecord componenthandlerKey- the value for thehandlerKeyrecord componenthandlerVersion- the value for thehandlerVersionrecord componentinput- the value for theinputrecord componenttimeoutSeconds- the value for thetimeoutSecondsrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
sequence
-
name
-
displayName
Returns the value of thedisplayNamerecord component.- Returns:
- the value of the
displayNamerecord component
-
handlerKey
Returns the value of thehandlerKeyrecord component.- Returns:
- the value of the
handlerKeyrecord component
-
handlerVersion
public int handlerVersion()Returns the value of thehandlerVersionrecord component.- Returns:
- the value of the
handlerVersionrecord component
-
input
-
timeoutSeconds
Returns the value of thetimeoutSecondsrecord component.- Returns:
- the value of the
timeoutSecondsrecord component
-