Package com.axelor.workflow.plan
Record Class WorkflowPlan.WaitStep
java.lang.Object
java.lang.Record
com.axelor.workflow.plan.WorkflowPlan.WaitStep
- All Implemented Interfaces:
WorkflowPlan.Step
- Enclosing class:
WorkflowPlan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theboundariesrecord component.delay()Returns the value of thedelayrecord component.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.key()Returns the value of thekeyrecord component.kind()Returns the value of thekindrecord component.Returns the value of themaxVisitsrecord component.name()Returns the value of thenamerecord component.next()Returns the value of thenextrecord component.targets()final StringtoString()Returns a string representation of this record class.type()unit()Returns the value of theunitrecord component.until()Returns the value of theuntilrecord component.when()Returns the value of thewhenrecord component.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, catching
-
Constructor Details
-
WaitStep
public WaitStep(String id, EventKind kind, String name, String key, Integer delay, DelayUnit unit, String until, String when, Integer maxVisits, String next, List<WorkflowPlan.Boundary> boundaries) Creates an instance of aWaitSteprecord class.- Parameters:
id- the value for theidrecord componentkind- the value for thekindrecord componentname- the value for thenamerecord componentkey- the value for thekeyrecord componentdelay- the value for thedelayrecord componentunit- the value for theunitrecord componentuntil- the value for theuntilrecord componentwhen- the value for thewhenrecord componentmaxVisits- the value for themaxVisitsrecord componentnext- the value for thenextrecord componentboundaries- the value for theboundariesrecord 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
-
kind
Returns the value of thekindrecord component.- Returns:
- the value of the
kindrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
key
Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-
delay
Returns the value of thedelayrecord component.- Returns:
- the value of the
delayrecord component
-
unit
Returns the value of theunitrecord component.- Returns:
- the value of the
unitrecord component
-
until
Returns the value of theuntilrecord component.- Returns:
- the value of the
untilrecord component
-
when
Returns the value of thewhenrecord component.- Returns:
- the value of the
whenrecord component
-
maxVisits
Returns the value of themaxVisitsrecord component.- Returns:
- the value of the
maxVisitsrecord component
-
next
Returns the value of thenextrecord component.- Returns:
- the value of the
nextrecord component
-
boundaries
Returns the value of theboundariesrecord component.- Specified by:
boundariesin interfaceWorkflowPlan.Step- Returns:
- the value of the
boundariesrecord component
-