Package com.axelor.workflow.split
Record Class WorkflowSplitService.RegionPark
java.lang.Object
java.lang.Record
com.axelor.workflow.split.WorkflowSplitService.RegionPark
- Enclosing class:
WorkflowSplitService
public static record WorkflowSplitService.RegionPark(String parkKey, LocalDateTime enteredAt, Map<String,LocalDateTime> deadlines, List<Boundaries.Subscription> subscriptions, LocalDateTime wakeAt)
extends Record
The park watching a whole region, resolved as the walk entered it:
enteredAt is the
entry, which is what its deadlines run from. Null when the subflow has no boundary.-
Constructor Summary
ConstructorsConstructorDescriptionRegionPark(String parkKey, LocalDateTime enteredAt, Map<String, LocalDateTime> deadlines, List<Boundaries.Subscription> subscriptions, LocalDateTime wakeAt) Creates an instance of aRegionParkrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedeadlinesrecord component.Returns the value of theenteredAtrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.parkKey()Returns the value of theparkKeyrecord component.Returns the value of thesubscriptionsrecord component.final StringtoString()Returns a string representation of this record class.wakeAt()Returns the value of thewakeAtrecord component.
-
Constructor Details
-
RegionPark
public RegionPark(String parkKey, LocalDateTime enteredAt, Map<String, LocalDateTime> deadlines, List<Boundaries.Subscription> subscriptions, LocalDateTime wakeAt) Creates an instance of aRegionParkrecord class.- Parameters:
parkKey- the value for theparkKeyrecord componententeredAt- the value for theenteredAtrecord componentdeadlines- the value for thedeadlinesrecord componentsubscriptions- the value for thesubscriptionsrecord componentwakeAt- the value for thewakeAtrecord 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). -
parkKey
Returns the value of theparkKeyrecord component.- Returns:
- the value of the
parkKeyrecord component
-
enteredAt
Returns the value of theenteredAtrecord component.- Returns:
- the value of the
enteredAtrecord component
-
deadlines
Returns the value of thedeadlinesrecord component.- Returns:
- the value of the
deadlinesrecord component
-
subscriptions
Returns the value of thesubscriptionsrecord component.- Returns:
- the value of the
subscriptionsrecord component
-
wakeAt
Returns the value of thewakeAtrecord component.- Returns:
- the value of the
wakeAtrecord component
-