public class BindCommand extends AbstractCommand
| Constructor and Description |
|---|
BindCommand(@NotNull CrossfireServerConnection crossfireServerConnection,
@NotNull CommandCallback commandCallback,
@NotNull GUICommandFactory guiCommandFactory)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
allArguments()
Returns whether all remaining commands should be included as arguments.
|
void |
execute(@NotNull java.lang.String args)
Executes the command with the given arguments.
|
@NotNull java.lang.String |
getHelp()
Returns the help text for this command.
|
drawInfo, drawInfo, drawInfoError, getCommandName, toStringpublic BindCommand(@NotNull
@NotNull CrossfireServerConnection crossfireServerConnection,
@NotNull
@NotNull CommandCallback commandCallback,
@NotNull
@NotNull GUICommandFactory guiCommandFactory)
crossfireServerConnection - the connection instancecommandCallback - the command callback to useguiCommandFactory - the gui command factory for creating commandspublic boolean allArguments()
Commandpublic void execute(@NotNull
@NotNull java.lang.String args)
Commandargs - the command arguments@NotNull public @NotNull java.lang.String getHelp()
Command