Record Class AgingLegacyProgress
java.lang.Object
java.lang.Record
ke.ric.api.aging.AgingLegacyProgress
-
Constructor Summary
ConstructorsConstructorDescriptionAgingLegacyProgress(String definitionId, int stageIndex, long stageElapsedMillis) Creates an instance of aAgingLegacyProgressrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedefinitionIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longReturns the value of thestageElapsedMillisrecord component.intReturns the value of thestageIndexrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AgingLegacyProgress
Creates an instance of aAgingLegacyProgressrecord class.- Parameters:
definitionId- the value for thedefinitionIdrecord componentstageIndex- the value for thestageIndexrecord componentstageElapsedMillis- the value for thestageElapsedMillisrecord component
-
-
Method Details
-
toString
-
hashCode
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
definitionId
Returns the value of thedefinitionIdrecord component.- Returns:
- the value of the
definitionIdrecord component
-
stageIndex
public int stageIndex()Returns the value of thestageIndexrecord component.- Returns:
- the value of the
stageIndexrecord component
-
stageElapsedMillis
public long stageElapsedMillis()Returns the value of thestageElapsedMillisrecord component.- Returns:
- the value of the
stageElapsedMillisrecord component
-