public class CommandExecutorImpl extends java.lang.Object implements CommandExecutor
Commands.| Constructor and Description |
|---|
CommandExecutorImpl(@NotNull CommandQueue commandQueue,
@NotNull Commands commands)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
executeCommand(@NotNull java.lang.CharSequence commandLine)
Executes a command or a list of commands.
|
public CommandExecutorImpl(@NotNull
@NotNull CommandQueue commandQueue,
@NotNull
@NotNull Commands commands)
commandQueue - the command queue for sending commandscommands - the commands to considerpublic void executeCommand(@NotNull
@NotNull java.lang.CharSequence commandLine)
CommandExecutorexecuteCommand in interface CommandExecutorcommandLine - the commands to execute