public class CommandExecutionAction extends CommandAction
| Constructor and Description |
|---|
CommandExecutionAction(AbstractHystrixCommand hystrixCommand,
MetaHolder metaHolder)
Constructor with parameters.
|
| 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.
|
AbstractHystrixCommand |
getHystrixCommand() |
MetaHolder |
getMetaHolder() |
public CommandExecutionAction(AbstractHystrixCommand hystrixCommand, MetaHolder metaHolder)
hystrixCommand - the hystrix command to execute.public AbstractHystrixCommand getHystrixCommand()
public MetaHolder getMetaHolder()
getMetaHolder in class CommandActionpublic java.lang.Object execute(ExecutionType executionType) throws CommandActionExecutionException
CommandActionexecute in class CommandActionexecutionType - the execution typeCommandActionExecutionExceptionpublic java.lang.Object executeWithArgs(ExecutionType executionType, java.lang.Object[] args) throws CommandActionExecutionException
CommandActionexecuteWithArgs in class CommandActionexecutionType - the execution typeargs - the parameters of the actionCommandActionExecutionExceptionpublic java.lang.String getActionName()
getActionName in class CommandAction