Class GoalNotApproved
-
- All Implemented Interfaces:
-
com.embabel.agent.event.AgentPlatformEvent,com.embabel.agent.event.AgenticEvent,com.embabel.common.core.types.Timestamped,java.io.Serializable
public final class GoalNotApproved extends ProcessExecutionException implements AgentPlatformEvent
The Ranker chose a goal, but it was rejected by the GoalApprover
-
-
Field Summary
Fields Modifier and Type Field Description private final Instanttimestampprivate final Objectbasisprivate final Rankings<Goal>goalRankingsprivate final Stringreasonprivate final AgentPlatformagentPlatformprivate final AgentProcessagentProcessprivate final Throwablecauseprivate final Stringmessage
-
Constructor Summary
Constructors Constructor Description GoalNotApproved(Object basis, Rankings<Goal> goalRankings, String reason, AgentPlatform agentPlatform)
-
Method Summary
Modifier and Type Method Description InstantgetTimestamp()final ObjectgetBasis()final Rankings<Goal>getGoalRankings()final StringgetReason()AgentPlatformgetAgentPlatform()-
Methods inherited from class com.embabel.agent.api.common.autonomy.ProcessExecutionException
getAgentProcess -
Methods inherited from class kotlin.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
GoalNotApproved
GoalNotApproved(Object basis, Rankings<Goal> goalRankings, String reason, AgentPlatform agentPlatform)
-
-
Method Detail
-
getTimestamp
Instant getTimestamp()
-
getGoalRankings
final Rankings<Goal> getGoalRankings()
-
getAgentPlatform
AgentPlatform getAgentPlatform()
-
-
-
-