Record Class SkillCurator.TransitionCounts
java.lang.Object
java.lang.Record
io.agentscope.harness.agent.skill.curator.SkillCurator.TransitionCounts
- Enclosing class:
- SkillCurator
public static record SkillCurator.TransitionCounts(int checked, int markedStale, int archived, int reactivated)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionTransitionCounts(int checked, int markedStale, int archived, int reactivated) Creates an instance of aTransitionCountsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintarchived()Returns the value of thearchivedrecord component.intchecked()Returns the value of thecheckedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of themarkedStalerecord component.intReturns the value of thereactivatedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TransitionCounts
public TransitionCounts(int checked, int markedStale, int archived, int reactivated) Creates an instance of aTransitionCountsrecord class.- Parameters:
checked- the value for thecheckedrecord componentmarkedStale- the value for themarkedStalerecord componentarchived- the value for thearchivedrecord componentreactivated- the value for thereactivatedrecord 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 with '=='. -
checked
public int checked()Returns the value of thecheckedrecord component.- Returns:
- the value of the
checkedrecord component
-
markedStale
public int markedStale()Returns the value of themarkedStalerecord component.- Returns:
- the value of the
markedStalerecord component
-
archived
public int archived()Returns the value of thearchivedrecord component.- Returns:
- the value of the
archivedrecord component
-
reactivated
public int reactivated()Returns the value of thereactivatedrecord component.- Returns:
- the value of the
reactivatedrecord component
-