Package com.quartetfs.fwk
Interface IAgent.ITransition
-
- Enclosing interface:
- IAgent
public static interface IAgent.ITransitionBusiness logic performed during an agent state transition.- Author:
- ActiveViam
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidrun(IAgent.State from, IAgent.State to)Performs the transition.
-
-
-
Method Detail
-
run
void run(IAgent.State from, IAgent.State to) throws AgentException
Performs the transition.- Parameters:
from- initial stateto- target state (after the transition)- Throws:
AgentException- if the transition fails.
-
-