public interface Command<T extends CommandInvocation>
| Modifier and Type | Method and Description |
|---|---|
CommandResult |
execute(T commandInvocation)
Will be executed when this command is triggered by the command line.
|
CommandResult execute(T commandInvocation) throws java.io.IOException, java.lang.InterruptedException
commandInvocation - invocationjava.io.IOExceptionjava.lang.InterruptedException