Crossfire JXClient, Trunk
R20561
|
Implements the "scriptkill" command. 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.
| |||
ScriptkillCommand (@NotNull final ScriptManager scriptManager, @NotNull final CrossfireServerConnection crossfireServerConnection) | |||
Creates a new instance. More... | |||
![]() | |||
String | getCommandName () | ||
Returns the name of the command.
| |||
String | toString () | ||
Private Attributes | |
final ScriptManager | scriptManager |
The ScriptManager to use. 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... | |
Implements the "scriptkill" command.
It terminates running scripts.
Definition at line 34 of file ScriptkillCommand.java.
com.realtime.crossfire.jxclient.commands.ScriptkillCommand.ScriptkillCommand | ( | @NotNull final ScriptManager | scriptManager, |
@NotNull final CrossfireServerConnection | crossfireServerConnection | ||
) |
Creates a new instance.
scriptManager | the script manager to use |
crossfireServerConnection | the connection instance |
Definition at line 47 of file ScriptkillCommand.java.
References com.realtime.crossfire.jxclient.commands.ScriptkillCommand.scriptManager.
boolean com.realtime.crossfire.jxclient.commands.ScriptkillCommand.allArguments | ( | ) |
Returns whether all remaining commands should be included as arguments.
Implements com.realtime.crossfire.jxclient.commands.Command.
Definition at line 56 of file ScriptkillCommand.java.
void com.realtime.crossfire.jxclient.commands.ScriptkillCommand.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 64 of file ScriptkillCommand.java.
References com.realtime.crossfire.jxclient.commands.AbstractCommand.drawInfoError(), com.realtime.crossfire.jxclient.scripts.ScriptManager.getScripts(), com.realtime.crossfire.jxclient.scripts.ScriptManager.hasScripts(), and com.realtime.crossfire.jxclient.scripts.ScriptProcess.killScript().
|
private |
The ScriptManager to use.
Definition at line 40 of file ScriptkillCommand.java.
Referenced by com.realtime.crossfire.jxclient.commands.ScriptkillCommand.ScriptkillCommand().