public interface Task
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId()
Returns identifier.
|
boolean |
matches(Transition transition)
Checks if given
transition matches to any of
matchers. |
void |
perform(TransitionContext context)
Performs desired actions for given
transition. |
void |
prepare(TransitionContext context)
Prepares for given
context. |
java.lang.String getId()
boolean matches(Transition transition)
transition matches to any of
matchers.transition - transition to match.void prepare(TransitionContext context) throws FSMException
context.context - transition contextFSMException - if an error occurs.void perform(TransitionContext context) throws FSMException
transition.context - transition contextFSMException - if an error occurs.Copyright © 2011. All Rights Reserved.