Class CommandExecutorImpl
java.lang.Object
org.flowable.common.engine.impl.cfg.CommandExecutorImpl
- All Implemented Interfaces:
CommandExecutor
Command executor that passes commands to the first interceptor in the chain. If no
CommandConfig
is passed, the default configuration will be used.- Author:
- Marcus Klimstra (CGI), Joram Barrez
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> T
Execute a command with the defaultCommandConfig
.<T> T
execute
(CommandConfig config, Command<T> command) Execute a command with the specifiedCommandConfig
.getFirst()
void
setFirst
(CommandInterceptor commandInterceptor)
-
Field Details
-
defaultConfig
-
first
-
-
Constructor Details
-
CommandExecutorImpl
-
-
Method Details
-
getFirst
-
setFirst
-
getDefaultConfig
- Specified by:
getDefaultConfig
in interfaceCommandExecutor
- Returns:
- the default
CommandConfig
, used if none is provided.
-
execute
Description copied from interface:CommandExecutor
Execute a command with the defaultCommandConfig
.- Specified by:
execute
in interfaceCommandExecutor
-
execute
Description copied from interface:CommandExecutor
Execute a command with the specifiedCommandConfig
.- Specified by:
execute
in interfaceCommandExecutor
-