Crossfire JXClient, Trunk
R20561
|
A Command for regression tests. More...
Public Member Functions | |||
boolean | allArguments () | ||
Returns whether all remaining commands should be included as arguments.
| |||
void | execute (@NotNull final String args) | ||
Executes the command with the given arguments.
| |||
TestCommand (@NotNull final String commandName, final boolean allArguments, @NotNull final CrossfireServerConnection crossfireServerConnection) | |||
Creates a new instance. More... | |||
![]() | |||
String | getCommandName () | ||
Returns the name of the command.
| |||
String | toString () | ||
Private Attributes | |
final boolean | allArguments |
Whether all remaining commands should be included as arguments. More... | |
Additional Inherited Members | |
![]() | |
AbstractCommand (@NotNull final String commandName, @NotNull final CrossfireServerConnection crossfireServerConnection) | |
Creates a new instance. More... | |
void | drawInfo (@NotNull final String message) |
Displays a regular output message. More... | |
void | drawInfo (@NotNull final String message, final int color) |
Displays a message. More... | |
void | drawInfoError (@NotNull final String message) |
Displays an error message. More... | |
A Command for regression tests.
Definition at line 31 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 45 of file TestCommand.java.
References com.realtime.crossfire.jxclient.commands.TestCommand.allArguments().
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 54 of file TestCommand.java.
Referenced by com.realtime.crossfire.jxclient.commands.TestCommand.TestCommand().
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 62 of file TestCommand.java.
|
private |
Whether all remaining commands should be included as arguments.
Definition at line 36 of file TestCommand.java.