Record Class SkillCurator.CuratorRunReport
java.lang.Object
java.lang.Record
io.agentscope.harness.agent.skill.curator.SkillCurator.CuratorRunReport
- Enclosing class:
- SkillCurator
public static record SkillCurator.CuratorRunReport(SkillCurator.TransitionCounts transitions, String dryRunReportPath, Instant ranAt, long durationMs)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionCuratorRunReport(SkillCurator.TransitionCounts transitions, String dryRunReportPath, Instant ranAt, long durationMs) Creates an instance of aCuratorRunReportrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedryRunReportPathrecord component.longReturns the value of thedurationMsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.ranAt()Returns the value of theranAtrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetransitionsrecord component.
-
Constructor Details
-
CuratorRunReport
public CuratorRunReport(SkillCurator.TransitionCounts transitions, String dryRunReportPath, Instant ranAt, long durationMs) Creates an instance of aCuratorRunReportrecord class.- Parameters:
transitions- the value for thetransitionsrecord componentdryRunReportPath- the value for thedryRunReportPathrecord componentranAt- the value for theranAtrecord componentdurationMs- the value for thedurationMsrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
transitions
Returns the value of thetransitionsrecord component.- Returns:
- the value of the
transitionsrecord component
-
dryRunReportPath
Returns the value of thedryRunReportPathrecord component.- Returns:
- the value of the
dryRunReportPathrecord component
-
ranAt
Returns the value of theranAtrecord component.- Returns:
- the value of the
ranAtrecord component
-
durationMs
public long durationMs()Returns the value of thedurationMsrecord component.- Returns:
- the value of the
durationMsrecord component
-