Interface CommandExecutor
-
- All Known Implementing Classes:
CommandExecutorImpl
public interface CommandExecutorThe command executor for internal usage.- Author:
- Tom Baeyens
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> Texecute(Command<T> command)Execute a command with the defaultCommandConfig.<T> Texecute(CommandConfig config, Command<T> command)Execute a command with the specifiedCommandConfig.CommandConfiggetDefaultConfig()
-
-
-
Method Detail
-
getDefaultConfig
CommandConfig getDefaultConfig()
- Returns:
- the default
CommandConfig, used if none is provided.
-
execute
<T> T execute(CommandConfig config, Command<T> command)
Execute a command with the specifiedCommandConfig.
-
execute
<T> T execute(Command<T> command)
Execute a command with the defaultCommandConfig.
-
-