public abstract class SimpleTask extends SwitchTask
| Constructor and Description |
|---|
SimpleTask(java.lang.String id,
TransitionMatcher[] matchers)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
performOff(TransitionContext context)
Performs for switching off.
|
protected void |
prepareOff(TransitionContext context)
Prepares for switching off.
|
perform, performOn, prepare, prepareOnpublic SimpleTask(java.lang.String id,
TransitionMatcher[] matchers)
id - task idmatchers - matchers; not null; not emptyprotected void prepareOff(TransitionContext context) throws FSMException
SwitchTaskprepareOff in class SwitchTaskcontext - contextFSMException - if an error occurs.protected void performOff(TransitionContext context) throws FSMException
SwitchTaskperformOff in class SwitchTaskcontext - contextFSMException - if an error occurs.Copyright © 2011. All Rights Reserved.