public interface ActionManager extends EngineModule
| Modifier and Type | Method and Description |
|---|---|
void |
addAction(ActionAdapter actionAdapter)
Adds a new action adapter.
|
Object |
callAction(String actionName,
Object... args)
Calls the action.
|
boolean |
existsAction(String name)
Returns
true if an action named name exists. |
Map<String,ActionAdapter> |
getRegisteredActionAdapterMap()
Returns registered processor adapter map.
|
void |
removeAction(String actionName)
Removes the action adapter.
|
getEngine, getName, setEngine, setNameisFailed, isNew, isRunning, isStarting, isStopping, isTerminated, shutdown, startupvoid addAction(ActionAdapter actionAdapter)
actionAdapter - a new action adapter.void removeAction(String actionName)
actionName - the name of the action adapter.Object callAction(String actionName, Object... args)
actionName - Name of registered action.args - Arguments for Action.Map<String,ActionAdapter> getRegisteredActionAdapterMap()
boolean existsAction(String name)
true if an action named name exists.name - action name.true if an action named name exists.Copyright © 2016–2018 Softelnet. All rights reserved.