Package com.axelor.workflow.view
Record Class WorkflowRunView.Live
java.lang.Object
java.lang.Record
com.axelor.workflow.view.WorkflowRunView.Live
- Record Components:
nodePath- the subflow whose body this is stopped inside, or nullkind-waitingon a person or a timer,blockedon a fork of its own, orready: settled but not yet continuedsince- when it stopped theredueAt- when it is expected to move, if anything says so
- Enclosing class:
WorkflowRunView
public static record WorkflowRunView.Live(String nodeId, String nodePath, String kind, LocalDateTime since, LocalDateTime dueAt)
extends Record
Somewhere the run is stopped right now; a fork has one per outstanding branch.
-
Constructor Summary
ConstructorsConstructorDescriptionLive(String nodeId, String nodePath, String kind, LocalDateTime since, LocalDateTime dueAt) Creates an instance of aLiverecord class. -
Method Summary
Modifier and TypeMethodDescriptiondueAt()Returns the value of thedueAtrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.kind()Returns the value of thekindrecord component.nodeId()Returns the value of thenodeIdrecord component.nodePath()Returns the value of thenodePathrecord component.since()Returns the value of thesincerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Live
Creates an instance of aLiverecord class.
-
-
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). -
nodeId
Returns the value of thenodeIdrecord component.- Returns:
- the value of the
nodeIdrecord component
-
nodePath
Returns the value of thenodePathrecord component.- Returns:
- the value of the
nodePathrecord component
-
kind
Returns the value of thekindrecord component.- Returns:
- the value of the
kindrecord component
-
since
Returns the value of thesincerecord component.- Returns:
- the value of the
sincerecord component
-
dueAt
Returns the value of thedueAtrecord component.- Returns:
- the value of the
dueAtrecord component
-