Package com.axelor.workflow.exec
Record Class StepOutcome.Fork
java.lang.Object
java.lang.Record
com.axelor.workflow.exec.StepOutcome.Fork
- All Implemented Interfaces:
StepOutcome
- Enclosing interface:
StepOutcome
public static record StepOutcome.Fork(List<StepOutcome.Fork.Taken> taken, String join)
extends Record
implements StepOutcome
Fan out into every flow the split selected, in declaration order;
join is the barrier
the branches stop at. Flows are carried rather than targets because two flows may lead to one
node.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordOne flow the split activated: the id the author gave it, and where it leads.Nested classes/interfaces inherited from interface com.axelor.workflow.exec.StepOutcome
StepOutcome.Absorbed, StepOutcome.Activated, StepOutcome.Blocked, StepOutcome.Continue, StepOutcome.Done, StepOutcome.Fork, StepOutcome.Park, StepOutcome.Terminated -
Constructor Summary
ConstructorsConstructorDescriptionFork(List<StepOutcome.Fork.Taken> taken, String join) Creates an instance of aForkrecord 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.join()Returns the value of thejoinrecord component.taken()Returns the value of thetakenrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Fork
Creates an instance of aForkrecord class.- Parameters:
taken- the value for thetakenrecord componentjoin- the value for thejoinrecord component
-
-
Method Details
-
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). -
taken
Returns the value of thetakenrecord component.- Returns:
- the value of the
takenrecord component
-
join
Returns the value of thejoinrecord component.- Returns:
- the value of the
joinrecord component
-