Package com.axelor.workflow.plan
Record Class WorkflowPlan.SubflowStep
java.lang.Object
java.lang.Record
com.axelor.workflow.plan.WorkflowPlan.SubflowStep
- All Implemented Interfaces:
WorkflowPlan.Invocation,WorkflowPlan.Step
- Enclosing class:
WorkflowPlan
public static record WorkflowPlan.SubflowStep(String id, WorkflowPlan body, String model, String jsonModel, WorkflowPlan.Selection selection, String next, List<WorkflowPlan.Boundary> boundaries)
extends Record
implements WorkflowPlan.Invocation
A
<subflow>: runs its embedded body inside this run. model and
jsonModel may be null, leaving elements unchecked.-
Constructor Summary
ConstructorsConstructorDescriptionSubflowStep(String id, WorkflowPlan body, String model, String jsonModel, WorkflowPlan.Selection selection, String next, List<WorkflowPlan.Boundary> boundaries) Creates an instance of aSubflowSteprecord class. -
Method Summary
Modifier and TypeMethodDescriptionbody()Returns the value of thebodyrecord component.Returns 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.Returns the value of thejsonModelrecord component.model()Returns the value of themodelrecord component.next()Returns the value of thenextrecord 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
-
SubflowStep
public SubflowStep(String id, WorkflowPlan body, String model, String jsonModel, WorkflowPlan.Selection selection, String next, List<WorkflowPlan.Boundary> boundaries) Creates an instance of aSubflowSteprecord class.- Parameters:
id- the value for theidrecord componentbody- the value for thebodyrecord componentmodel- the value for themodelrecord componentjsonModel- the value for thejsonModelrecord 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
-
body
Returns the value of thebodyrecord component.- Returns:
- the value of the
bodyrecord component
-
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-
jsonModel
Returns the value of thejsonModelrecord component.- Returns:
- the value of the
jsonModelrecord 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
-