Package astra.core
Class Agent.Notification
java.lang.Object
astra.core.Agent.Notification
- Enclosing class:
- Agent
public static class Agent.Notification extends Object
This class models the notifications that are generated when an asynchronously executed action
completes. Receipt of an instance of this class allows the agent to resume or fail the associated
intention.
- Author:
- Rem Collier
-
Constructor Summary
Constructors Constructor Description Notification(Intention intention, String message)Notification(Intention Intention, String message, Throwable th) -
Method Summary
Modifier and Type Method Description voidevaluate()
-
Constructor Details
-
Method Details
-
evaluate
public void evaluate()
-