Package com.axelor.workflow.view
Record Class WorkflowRunView.Path
java.lang.Object
java.lang.Record
com.axelor.workflow.view.WorkflowRunView.Path
- Enclosing class:
WorkflowRunView
public static record WorkflowRunView.Path(List<WorkflowRunView.PathNode> nodes, List<WorkflowRunView.PathEdge> edges)
extends Record
The nodes a run passed and the edges it took, each within its graph; a node or edge is on it if
any thread went that way.
-
Constructor Summary
ConstructorsConstructorDescriptionPath(List<WorkflowRunView.PathNode> nodes, List<WorkflowRunView.PathEdge> edges) Creates an instance of aPathrecord class. -
Method Summary
Modifier and TypeMethodDescriptionedges()Returns the value of theedgesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.nodes()Returns the value of thenodesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Path
Creates an instance of aPathrecord class.- Parameters:
nodes- the value for thenodesrecord componentedges- the value for theedgesrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
nodes
Returns the value of thenodesrecord component.- Returns:
- the value of the
nodesrecord component
-
edges
Returns the value of theedgesrecord component.- Returns:
- the value of the
edgesrecord component
-