Package com.axelor.workflow.plan
Record Class WorkflowPlan.JoinStep
java.lang.Object
java.lang.Record
com.axelor.workflow.plan.WorkflowPlan.JoinStep
- All Implemented Interfaces:
WorkflowPlan.Step
- Enclosing class:
WorkflowPlan
public static record WorkflowPlan.JoinStep(String id, String split, WorkflowPlan.JoinPolicy policy, String next)
extends Record
implements WorkflowPlan.Step
A join: the
some/all split it closes and its completion policy. Every join
holds a barrier; a one split's alternatives meet at an ordinary node.-
Constructor Summary
ConstructorsConstructorDescriptionJoinStep(String id, String split, WorkflowPlan.JoinPolicy policy, String next) Creates an instance of aJoinSteprecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.next()Returns the value of thenextrecord component.policy()Returns the value of thepolicyrecord component.split()Returns the value of thesplitrecord component.targets()final StringtoString()Returns a string representation of this record class.type()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.axelor.workflow.plan.WorkflowPlan.Step
async, boundaries, catching
-
Constructor Details
-
JoinStep
Creates an instance of aJoinSteprecord class.- Parameters:
id- the value for theidrecord componentsplit- the value for thesplitrecord componentpolicy- the value for thepolicyrecord componentnext- the value for thenextrecord component
-
-
Method Details
-
type
- Specified by:
typein interfaceWorkflowPlan.Step
-
targets
- Specified by:
targetsin interfaceWorkflowPlan.Step
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. All components in this record class are compared withObjects::equals(Object,Object). -
id
Returns the value of theidrecord component.- Specified by:
idin interfaceWorkflowPlan.Step- Returns:
- the value of the
idrecord component
-
split
Returns the value of thesplitrecord component.- Returns:
- the value of the
splitrecord component
-
policy
Returns the value of thepolicyrecord component.- Returns:
- the value of the
policyrecord component
-
next
Returns the value of thenextrecord component.- Returns:
- the value of the
nextrecord component
-