Package com.axelor.workflow.exec
Record Class Boundaries.Park
java.lang.Object
java.lang.Record
com.axelor.workflow.exec.Boundaries.Park
- Enclosing class:
Boundaries
public static record Boundaries.Park(LocalDateTime parkedAt, Map<String,LocalDateTime> deadlines, Map<String,String> fired)
extends Record
What a park recorded: when it opened, its absolute deadlines, and which non-cancelling
boundaries have fired.
-
Constructor Summary
ConstructorsConstructorDescriptionPark(LocalDateTime parkedAt, Map<String, LocalDateTime> deadlines, Map<String, String> fired) Creates an instance of aParkrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedeadlinesrecord component.final booleanIndicates whether some other object is "equal to" this one.fired()Returns the value of thefiredrecord component.final inthashCode()Returns a hash code value for this object.parkedAt()Returns the value of theparkedAtrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Park
Creates an instance of aParkrecord class.- Parameters:
parkedAt- the value for theparkedAtrecord componentdeadlines- the value for thedeadlinesrecord componentfired- the value for thefiredrecord 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). -
parkedAt
Returns the value of theparkedAtrecord component.- Returns:
- the value of the
parkedAtrecord component
-
deadlines
Returns the value of thedeadlinesrecord component.- Returns:
- the value of the
deadlinesrecord component
-
fired
Returns the value of thefiredrecord component.- Returns:
- the value of the
firedrecord component
-