Interface CommandExecutor
- All Known Implementing Classes:
CommandExecutorImpl
public interface CommandExecutor
The command executor for internal usage.
- Author:
- Tom Baeyens
-
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
.
-
Method Details
-
getDefaultConfig
CommandConfig getDefaultConfig()- Returns:
- the default
CommandConfig
, used if none is provided.
-
execute
Execute a command with the specifiedCommandConfig
. -
execute
Execute a command with the defaultCommandConfig
.
-