Package com.axelor.workflow.view
Record Class WorkflowRunView.Visit
java.lang.Object
java.lang.Record
com.axelor.workflow.view.WorkflowRunView.Visit
- Record Components:
workMs- time spent executing, admin tier onlyparkedMs- time spent waiting, shown to everyoneerror- why it failed, admin tier only
- Enclosing class:
WorkflowRunView
public static record WorkflowRunView.Visit(String nodeId, String nodePath, String nodeTitle, int visit, String status, LocalDateTime startedAt, LocalDateTime endedAt, Long workMs, Long parkedMs, String exitVia, String error)
extends Record
One pass through a node; a loop yields several.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionendedAt()Returns the value of theendedAtrecord component.final booleanIndicates whether some other object is "equal to" this one.error()Returns the value of theerrorrecord component.exitVia()Returns the value of theexitViarecord component.final inthashCode()Returns a hash code value for this object.nodeId()Returns the value of thenodeIdrecord component.nodePath()Returns the value of thenodePathrecord component.Returns the value of thenodeTitlerecord component.parkedMs()Returns the value of theparkedMsrecord component.Returns the value of thestartedAtrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.intvisit()Returns the value of thevisitrecord component.workMs()Returns the value of theworkMsrecord component.
-
Constructor Details
-
Visit
public Visit(String nodeId, String nodePath, String nodeTitle, int visit, String status, LocalDateTime startedAt, LocalDateTime endedAt, Long workMs, Long parkedMs, String exitVia, String error) Creates an instance of aVisitrecord class.- Parameters:
nodeId- the value for thenodeIdrecord componentnodePath- the value for thenodePathrecord componentnodeTitle- the value for thenodeTitlerecord componentvisit- the value for thevisitrecord componentstatus- the value for thestatusrecord componentstartedAt- the value for thestartedAtrecord componentendedAt- the value for theendedAtrecord componentworkMs- the value for theworkMsrecord componentparkedMs- the value for theparkedMsrecord componentexitVia- the value for theexitViarecord componenterror- the value for theerrorrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
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
-
nodeTitle
Returns the value of thenodeTitlerecord component.- Returns:
- the value of the
nodeTitlerecord component
-
visit
public int visit()Returns the value of thevisitrecord component.- Returns:
- the value of the
visitrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
startedAt
Returns the value of thestartedAtrecord component.- Returns:
- the value of the
startedAtrecord component
-
endedAt
Returns the value of theendedAtrecord component.- Returns:
- the value of the
endedAtrecord component
-
workMs
Returns the value of theworkMsrecord component.- Returns:
- the value of the
workMsrecord component
-
parkedMs
Returns the value of theparkedMsrecord component.- Returns:
- the value of the
parkedMsrecord component
-
exitVia
Returns the value of theexitViarecord component.- Returns:
- the value of the
exitViarecord component
-
error
Returns the value of theerrorrecord component.- Returns:
- the value of the
errorrecord component
-