org.squirrelframework.foundation.fsm.impl
Class ActionsImpl<T extends StateMachine<T,S,E,C>,S,E,C>
java.lang.Object
org.squirrelframework.foundation.fsm.impl.ActionsImpl<T,S,E,C>
- All Implemented Interfaces:
- SquirrelComponent, Actions<T,S,E,C>
public class ActionsImpl<T extends StateMachine<T,S,E,C>,S,E,C>
- extends Object
- implements Actions<T,S,E,C>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionsImpl
public ActionsImpl()
add
public void add(Action<T,S,E,C> newAction)
- Description copied from interface:
Actions
- Add a new action
- Specified by:
add in interface Actions<T extends StateMachine<T,S,E,C>,S,E,C>
- Parameters:
newAction - new action
addAll
public void addAll(List<Action<T,S,E,C>> newActions)
- Description copied from interface:
Actions
- Add a list of new actions
- Specified by:
addAll in interface Actions<T extends StateMachine<T,S,E,C>,S,E,C>
- Parameters:
newActions - new actions
getAll
public List<Action<T,S,E,C>> getAll()
- Specified by:
getAll in interface Actions<T extends StateMachine<T,S,E,C>,S,E,C>
- Returns:
- all sorted actions
clear
public void clear()
- Description copied from interface:
Actions
- Remove all actions
- Specified by:
clear in interface Actions<T extends StateMachine<T,S,E,C>,S,E,C>
Copyright © 2013-2014. All Rights Reserved.