Package com.axelor.workflow.plan
Record Class WorkflowPlan.CallStep
java.lang.Object
java.lang.Record
com.axelor.workflow.plan.WorkflowPlan.CallStep
- All Implemented Interfaces:
WorkflowPlan.Invocation,WorkflowPlan.Step
- Enclosing class:
WorkflowPlan
public static record WorkflowPlan.CallStep(String id, String ref, WorkflowPlan.Selection selection, String next, List<WorkflowPlan.Boundary> boundaries)
extends Record
implements WorkflowPlan.Invocation
A
<call>: runs the workflow named ref as a child run.-
Constructor Summary
ConstructorsConstructorDescriptionCallStep(String id, String ref, WorkflowPlan.Selection selection, String next, List<WorkflowPlan.Boundary> boundaries) Creates an instance of aCallSteprecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theboundariesrecord component.callee()The child as an author would name it in a message.final 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.ref()Returns the value of therefrecord component.Returns the value of theselectionrecord component.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.Invocation
callActivity, iterates, targetsMethods inherited from interface com.axelor.workflow.plan.WorkflowPlan.Step
async, catching
-
Constructor Details
-
CallStep
public CallStep(String id, String ref, WorkflowPlan.Selection selection, String next, List<WorkflowPlan.Boundary> boundaries) Creates an instance of aCallSteprecord class.- Parameters:
id- the value for theidrecord componentref- the value for therefrecord componentselection- the value for theselectionrecord componentnext- the value for thenextrecord componentboundaries- the value for theboundariesrecord component
-
-
Method Details
-
type
- Specified by:
typein interfaceWorkflowPlan.Step
-
callee
- Specified by:
calleein interfaceWorkflowPlan.Invocation
-
calleeName
Description copied from interface:WorkflowPlan.InvocationThe child as an author would name it in a message.- Specified by:
calleeNamein interfaceWorkflowPlan.Invocation
-
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
-
ref
Returns the value of therefrecord component.- Returns:
- the value of the
refrecord component
-
selection
Returns the value of theselectionrecord component.- Specified by:
selectionin interfaceWorkflowPlan.Invocation- Returns:
- the value of the
selectionrecord component
-
next
Returns the value of thenextrecord component.- Specified by:
nextin interfaceWorkflowPlan.Invocation- Returns:
- the value of the
nextrecord component
-
boundaries
Returns the value of theboundariesrecord component.- Specified by:
boundariesin interfaceWorkflowPlan.Invocation- Specified by:
boundariesin interfaceWorkflowPlan.Step- Returns:
- the value of the
boundariesrecord component
-