Crossfire JXClient, Trunk
|
Public Member Functions | |
boolean | allArguments () |
void | execute (@NotNull final String args) |
String | getHelp () |
TestCommand (@NotNull final String commandName, final boolean allArguments, @NotNull final CrossfireServerConnection crossfireServerConnection) | |
Public Member Functions inherited from com.realtime.crossfire.jxclient.commands.AbstractCommand | |
String | getCommandName () |
String | toString () |
Private Attributes | |
final boolean | allArguments |
Additional Inherited Members | |
Protected Member Functions inherited from com.realtime.crossfire.jxclient.commands.AbstractCommand | |
AbstractCommand (@NotNull final String commandName, @NotNull final CrossfireServerConnection crossfireServerConnection) | |
void | drawInfo (@NotNull final String message) |
void | drawInfo (@NotNull final String message, final int color) |
void | drawInfoError (@NotNull final String message) |
A Command for regression tests.
Definition at line 32 of file TestCommand.java.
com.realtime.crossfire.jxclient.commands.TestCommand.TestCommand | ( | @NotNull final String | commandName, |
final boolean | allArguments, | ||
@NotNull final CrossfireServerConnection | crossfireServerConnection | ||
) |
Creates a new instance.
commandName | the name of the command |
allArguments | whether all remaining commands should be included as arguments |
crossfireServerConnection | the connection instance |
Definition at line 46 of file TestCommand.java.
References com.realtime.crossfire.jxclient.commands.TestCommand.allArguments, com.realtime.crossfire.jxclient.commands.AbstractCommand.commandName, and com.realtime.crossfire.jxclient.commands.AbstractCommand.crossfireServerConnection.
boolean com.realtime.crossfire.jxclient.commands.TestCommand.allArguments | ( | ) |
Returns whether all remaining commands should be included as arguments.
Implements com.realtime.crossfire.jxclient.commands.Command.
Definition at line 52 of file TestCommand.java.
References com.realtime.crossfire.jxclient.commands.TestCommand.allArguments.
void com.realtime.crossfire.jxclient.commands.TestCommand.execute | ( | @NotNull final String | args | ) |
Executes the command with the given arguments.
args | the command arguments |
Implements com.realtime.crossfire.jxclient.commands.Command.
Definition at line 57 of file TestCommand.java.
String com.realtime.crossfire.jxclient.commands.TestCommand.getHelp | ( | ) |
Returns the help text for this command.
Implements com.realtime.crossfire.jxclient.commands.Command.
Definition at line 63 of file TestCommand.java.
|
private |
Whether all remaining commands should be included as arguments.
Definition at line 37 of file TestCommand.java.
Referenced by com.realtime.crossfire.jxclient.commands.TestCommand.allArguments(), and com.realtime.crossfire.jxclient.commands.TestCommand.TestCommand().