Package com.axelor.workflow.exec
Record Class ParkInfo.OnKey
java.lang.Object
java.lang.Record
com.axelor.workflow.exec.ParkInfo.OnKey
- All Implemented Interfaces:
ParkInfo
- Enclosing interface:
ParkInfo
public static record ParkInfo.OnKey(String parkKey, LocalDateTime wakeAt)
extends Record
implements ParkInfo
Stopped on a person or a timer, under its own key.
wakeAt is null for an approval.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.axelor.workflow.exec.ParkInfo
ParkInfo.OnChildFork, ParkInfo.OnKey -
Constructor Summary
ConstructorsConstructorDescriptionOnKey(String parkKey, LocalDateTime wakeAt) Creates an instance of aOnKeyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal 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.final StringtoString()Returns a string representation of this record class.wakeAt()Returns the value of thewakeAtrecord component.
-
Constructor Details
-
OnKey
Creates an instance of aOnKeyrecord class.- Parameters:
parkKey- the value for theparkKeyrecord 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
-
wakeAt
Returns the value of thewakeAtrecord component.- Returns:
- the value of the
wakeAtrecord component
-