Package com.axelor.workflow.view
Record Class WorkflowRunView.EscapeBranch
java.lang.Object
java.lang.Record
com.axelor.workflow.view.WorkflowRunView.EscapeBranch
- Enclosing class:
WorkflowRunView
public static record WorkflowRunView.EscapeBranch(Long runId, String boundaryId, String boundaryTitle, String status)
extends Record
One escape branch this run spawned, read under the same access check as the run.
-
Constructor Summary
ConstructorsConstructorDescriptionEscapeBranch(Long runId, String boundaryId, String boundaryTitle, String status) Creates an instance of aEscapeBranchrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theboundaryIdrecord component.Returns the value of theboundaryTitlerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.runId()Returns the value of therunIdrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EscapeBranch
Creates an instance of aEscapeBranchrecord class.- Parameters:
runId- the value for therunIdrecord componentboundaryId- the value for theboundaryIdrecord componentboundaryTitle- the value for theboundaryTitlerecord componentstatus- the value for thestatusrecord 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). -
runId
Returns the value of therunIdrecord component.- Returns:
- the value of the
runIdrecord component
-
boundaryId
Returns the value of theboundaryIdrecord component.- Returns:
- the value of the
boundaryIdrecord component
-
boundaryTitle
Returns the value of theboundaryTitlerecord component.- Returns:
- the value of the
boundaryTitlerecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-