public abstract class CommandAction
extends java.lang.Object
| Constructor and Description |
|---|
CommandAction() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.Object |
execute(ExecutionType executionType)
Executes action in accordance with the given execution type.
|
abstract java.lang.Object |
executeWithArgs(ExecutionType executionType,
java.lang.Object[] args)
Executes action with parameters in accordance with the given execution ty
|
abstract java.lang.String |
getActionName()
Gets action name.
|
public abstract java.lang.Object execute(ExecutionType executionType) throws CommandActionExecutionException
executionType - the execution typeCommandActionExecutionExceptionpublic abstract java.lang.Object executeWithArgs(ExecutionType executionType, java.lang.Object[] args) throws CommandActionExecutionException
executionType - the execution typeargs - the parameters of the actionCommandActionExecutionExceptionpublic abstract java.lang.String getActionName()