Record Class WorkflowRunView.Visit

java.lang.Object
java.lang.Record
com.axelor.workflow.view.WorkflowRunView.Visit
Record Components:
workMs - time spent executing, admin tier only
parkedMs - time spent waiting, shown to everyone
error - 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 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 a Visit record class.
      Parameters:
      nodeId - the value for the nodeId record component
      nodePath - the value for the nodePath record component
      nodeTitle - the value for the nodeTitle record component
      visit - the value for the visit record component
      status - the value for the status record component
      startedAt - the value for the startedAt record component
      endedAt - the value for the endedAt record component
      workMs - the value for the workMs record component
      parkedMs - the value for the parkedMs record component
      exitVia - the value for the exitVia record component
      error - the value for the error record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • nodeId

      public String nodeId()
      Returns the value of the nodeId record component.
      Returns:
      the value of the nodeId record component
    • nodePath

      public String nodePath()
      Returns the value of the nodePath record component.
      Returns:
      the value of the nodePath record component
    • nodeTitle

      public String nodeTitle()
      Returns the value of the nodeTitle record component.
      Returns:
      the value of the nodeTitle record component
    • visit

      public int visit()
      Returns the value of the visit record component.
      Returns:
      the value of the visit record component
    • status

      public String status()
      Returns the value of the status record component.
      Returns:
      the value of the status record component
    • startedAt

      public LocalDateTime startedAt()
      Returns the value of the startedAt record component.
      Returns:
      the value of the startedAt record component
    • endedAt

      public LocalDateTime endedAt()
      Returns the value of the endedAt record component.
      Returns:
      the value of the endedAt record component
    • workMs

      public Long workMs()
      Returns the value of the workMs record component.
      Returns:
      the value of the workMs record component
    • parkedMs

      public Long parkedMs()
      Returns the value of the parkedMs record component.
      Returns:
      the value of the parkedMs record component
    • exitVia

      public String exitVia()
      Returns the value of the exitVia record component.
      Returns:
      the value of the exitVia record component
    • error

      public String error()
      Returns the value of the error record component.
      Returns:
      the value of the error record component