Record Class SkillPromotionGate.PromotionDecision.Approve
java.lang.Object
java.lang.Record
io.agentscope.harness.agent.skill.curator.SkillPromotionGate.PromotionDecision.Approve
- All Implemented Interfaces:
SkillPromotionGate.PromotionDecision
- Enclosing interface:
- SkillPromotionGate.PromotionDecision
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.agentscope.harness.agent.skill.curator.SkillPromotionGate.PromotionDecision
SkillPromotionGate.PromotionDecision.Approve, SkillPromotionGate.PromotionDecision.Defer, SkillPromotionGate.PromotionDecision.Reject -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedecidedAtrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thereviewerIdrecord component.Returns the value of thetargetEnvironmentsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Approve
Creates an instance of aApproverecord class.- Parameters:
reviewerId- the value for thereviewerIdrecord componenttargetEnvironments- the value for thetargetEnvironmentsrecord componentdecidedAt- the value for thedecidedAtrecord 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). -
reviewerId
Returns the value of thereviewerIdrecord component.- Returns:
- the value of the
reviewerIdrecord component
-
targetEnvironments
Returns the value of thetargetEnvironmentsrecord component.- Returns:
- the value of the
targetEnvironmentsrecord component
-
decidedAt
Returns the value of thedecidedAtrecord component.- Returns:
- the value of the
decidedAtrecord component
-