|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of FSMException in com.googlecode.jinahya.util.fsm |
|---|
| Methods in com.googlecode.jinahya.util.fsm that throw FSMException | |
|---|---|
Collection<Task> |
TaskContext.getTasks()
Returns an unmodifiable collection of task instances. |
protected static Task[] |
TaskContext.instantiate(Class<?>[] classes)
Creates a new instance of FSMContext. |
InputStream |
TaskContext.ResourceLoader.load(ClassLoader classLoader,
String resourceName)
Loads resource denoted by given resourceName using
specified classLoader. |
protected static Class<?>[] |
TaskContext.load(String contextPath,
ClassLoader classLoader)
Loads task classes. |
protected static Class<?>[] |
TaskContext.load(String contextPath,
ClassLoader classLoader,
TaskContext.ResourceLoader resourceLoader)
Loads task classes. |
abstract void |
Task.perform(TransitionContext context)
Perform desired actions for given transition. |
protected void |
MachineContext.perform(TransitionContext context,
Task... tasks)
Perform tasks. |
abstract void |
Task.prepare(TransitionContext context)
|
void |
TransitionContext.setPerformAfter(String previousTaskId)
Makes sure the task calling this method be performed after the task identified by sourceTaskId. |
void |
TransitionContext.setPerformBefore(String nextTaskId)
Make sure the task calling this method be performed before the task identified by targetTaskId. |
void |
Machine.setState(State state)
Sets state. |
void |
MachineContext.transited(Transition transition)
Notifies a state transition. |
| Constructors in com.googlecode.jinahya.util.fsm that throw FSMException | |
|---|---|
TaskContext(Class<?>[] classes)
Creates a new instance. |
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||