Record Class AutoconfigRunState.EvaluationPage
java.lang.Object
java.lang.Record
es.urjc.etsii.grafo.autoconfig.service.AutoconfigRunState.EvaluationPage
- Enclosing class:
AutoconfigRunState
public static record AutoconfigRunState.EvaluationPage(boolean historyTruncated, long oldestRetainedId, long latestId, long nextCursor, List<AutoconfigRunState.EvaluationView> evaluations)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionEvaluationPage(boolean historyTruncated, long oldestRetainedId, long latestId, long nextCursor, List<AutoconfigRunState.EvaluationView> evaluations) Creates an instance of aEvaluationPagerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theevaluationsrecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thehistoryTruncatedrecord component.longlatestId()Returns the value of thelatestIdrecord component.longReturns the value of thenextCursorrecord component.longReturns the value of theoldestRetainedIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EvaluationPage
public EvaluationPage(boolean historyTruncated, long oldestRetainedId, long latestId, long nextCursor, List<AutoconfigRunState.EvaluationView> evaluations) Creates an instance of aEvaluationPagerecord class.- Parameters:
historyTruncated- the value for thehistoryTruncatedrecord componentoldestRetainedId- the value for theoldestRetainedIdrecord componentlatestId- the value for thelatestIdrecord componentnextCursor- the value for thenextCursorrecord componentevaluations- the value for theevaluationsrecord 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. -
historyTruncated
public boolean historyTruncated()Returns the value of thehistoryTruncatedrecord component.- Returns:
- the value of the
historyTruncatedrecord component
-
oldestRetainedId
public long oldestRetainedId()Returns the value of theoldestRetainedIdrecord component.- Returns:
- the value of the
oldestRetainedIdrecord component
-
latestId
public long latestId()Returns the value of thelatestIdrecord component.- Returns:
- the value of the
latestIdrecord component
-
nextCursor
public long nextCursor()Returns the value of thenextCursorrecord component.- Returns:
- the value of the
nextCursorrecord component
-
evaluations
Returns the value of theevaluationsrecord component.- Returns:
- the value of the
evaluationsrecord component
-