Package com.quartetfs.fwk
Interface IAgent.ITransition
- Enclosing interface:
- IAgent
public static interface IAgent.ITransition
Business logic performed during an agent state transition.
- Author:
- ActiveViam
-
Method Summary
Modifier and TypeMethodDescriptionvoidrun(IAgent.State from, IAgent.State to) Performs the transition.
-
Method Details
-
run
Performs the transition.- Parameters:
from- initial stateto- target state (after the transition)- Throws:
AgentException- if the transition fails.
-