Crossfire JXClient, Trunk
|
Public Member Functions | |
boolean | allArguments () |
void | execute (@NotNull final String args) |
String | getHelp () |
ScriptkillallCommand (@NotNull final ScriptManager scriptManager, @NotNull final CrossfireServerConnection crossfireServerConnection) | |
Public Member Functions inherited from com.realtime.crossfire.jxclient.commands.AbstractCommand | |
String | getCommandName () |
String | toString () |
Private Attributes | |
final ScriptManager | scriptManager |
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) |
Implements the "scriptkillall" command. It terminates all running scripts.
Definition at line 35 of file ScriptkillallCommand.java.
com.realtime.crossfire.jxclient.commands.ScriptkillallCommand.ScriptkillallCommand | ( | @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 48 of file ScriptkillallCommand.java.
References com.realtime.crossfire.jxclient.commands.AbstractCommand.crossfireServerConnection, and com.realtime.crossfire.jxclient.commands.ScriptkillallCommand.scriptManager.
boolean com.realtime.crossfire.jxclient.commands.ScriptkillallCommand.allArguments | ( | ) |
Returns whether all remaining commands should be included as arguments.
Implements com.realtime.crossfire.jxclient.commands.Command.
Definition at line 54 of file ScriptkillallCommand.java.
void com.realtime.crossfire.jxclient.commands.ScriptkillallCommand.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 59 of file ScriptkillallCommand.java.
References com.realtime.crossfire.jxclient.commands.AbstractCommand.drawInfoError(), com.realtime.crossfire.jxclient.scripts.ScriptManager.getScripts(), com.realtime.crossfire.jxclient.scripts.ScriptManager.hasScripts(), com.realtime.crossfire.jxclient.scripts.ScriptProcess.killScript(), and com.realtime.crossfire.jxclient.commands.ScriptkillallCommand.scriptManager.
String com.realtime.crossfire.jxclient.commands.ScriptkillallCommand.getHelp | ( | ) |
Returns the help text for this command.
Implements com.realtime.crossfire.jxclient.commands.Command.
Definition at line 70 of file ScriptkillallCommand.java.
|
private |
The ScriptManager to use.
Definition at line 41 of file ScriptkillallCommand.java.
Referenced by com.realtime.crossfire.jxclient.commands.ScriptkillallCommand.execute(), and com.realtime.crossfire.jxclient.commands.ScriptkillallCommand.ScriptkillallCommand().