Package com.axelor.workflow.exec
Record Class Boundaries.Subscription
java.lang.Object
java.lang.Record
com.axelor.workflow.exec.Boundaries.Subscription
- Enclosing class:
Boundaries
public static record Boundaries.Subscription(String boundaryId, String name, String key)
extends Record
One thing a park listens for: a name, the key narrowing it (null for a signal), and the
boundary that asked, null for the node's own trigger.
-
Constructor Summary
ConstructorsConstructorDescriptionSubscription(String boundaryId, String name, String key) Creates an instance of aSubscriptionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theboundaryIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.key()Returns the value of thekeyrecord component.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Subscription
Creates an instance of aSubscriptionrecord class.- Parameters:
boundaryId- the value for theboundaryIdrecord componentname- the value for thenamerecord componentkey- the value for thekeyrecord 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). -
boundaryId
Returns the value of theboundaryIdrecord component.- Returns:
- the value of the
boundaryIdrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
key
Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-