|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of FSMException in com.googlecode.jinahya.util.fsm |
|---|
| Methods in com.googlecode.jinahya.util.fsm that throw FSMException | |
|---|---|
Map<String,Task> |
TaskContext.getTaskMap()
Returns an unmodifiable map of task if and tasks. |
Collection<Task> |
TaskContext.getTasks()
Returns an unmodifiable collection of task instances. |
protected static Collection<Task> |
TaskContext.instantiate(Set<Class<? extends Task>> 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 Set<Class<? extends Task>> |
TaskContext.load(String contextPath,
ClassLoader classLoader)
Loads task classes. |
protected static Set<Class<? extends Task>> |
TaskContext.load(String contextPath,
ClassLoader classLoader,
TaskContext.ResourceLoader resourceLoader)
Loads task classes. |
static TaskContext |
TaskContext.newInstance(String contextPath)
|
static TaskContext |
TaskContext.newInstance(String contextPath,
ClassLoader classLoader)
|
static TaskContext |
TaskContext.newInstance(String contextPath,
ClassLoader classLoader,
TaskContext.ResourceLoader resourceLoader)
|
static TaskContext |
TaskContext.newInstance(String contextPath,
TaskContext.ResourceLoader resourceLoader)
|
abstract void |
Task.perform(TransitionContext context)
Perform desired actions for given transition. |
void |
SwitchTask.perform(TransitionContext context)
|
protected void |
MachineContext.perform(TransitionContext context,
Task... tasks)
Perform tasks. |
protected void |
SimpleTask.performOff(TransitionContext context)
|
protected abstract void |
SwitchTask.performOff(TransitionContext context)
Performs for switching off. |
protected abstract void |
SwitchTask.performOn(TransitionContext context)
Performs for switching on. |
abstract void |
Task.prepare(TransitionContext context)
|
void |
SwitchTask.prepare(TransitionContext context)
|
protected void |
SimpleTask.prepareOff(TransitionContext context)
|
protected abstract void |
SwitchTask.prepareOff(TransitionContext context)
Prepares for switching off. |
protected abstract void |
SwitchTask.prepareOn(TransitionContext context)
Prepares for switching on. |
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. |
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||