public interface CommandAction
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
execute(ExecutionType executionType)
Executes action in accordance with the given execution type.
|
java.lang.Object |
executeWithArgs(ExecutionType executionType,
java.lang.Object[] args)
Executes action with parameters in accordance with the given execution ty
|
java.lang.String |
getActionName()
Gets action name.
|
MetaHolder |
getMetaHolder() |
MetaHolder getMetaHolder()
java.lang.Object execute(ExecutionType executionType) throws CommandActionExecutionException
executionType - the execution typeCommandActionExecutionExceptionjava.lang.Object executeWithArgs(ExecutionType executionType, java.lang.Object[] args) throws CommandActionExecutionException
executionType - the execution typeargs - the parameters of the actionCommandActionExecutionExceptionjava.lang.String getActionName()