Crossfire JXClient, Trunk  R20561
com.realtime.crossfire.jxclient.commands.ScriptkillallCommand Class Reference

Implements the "scriptkillall" command. More...

+ Inheritance diagram for com.realtime.crossfire.jxclient.commands.ScriptkillallCommand:
+ Collaboration diagram for com.realtime.crossfire.jxclient.commands.ScriptkillallCommand:

Public Member Functions

boolean allArguments ()
 Returns whether all remaining commands should be included as arguments.
Returns
whether all remaining commands should be included as arguments
More...
 
void execute (@NotNull final String args)
 Executes the command with the given arguments.
Parameters
argsthe command arguments
More...
 
 ScriptkillallCommand (@NotNull final ScriptManager scriptManager, @NotNull final CrossfireServerConnection crossfireServerConnection)
 Creates a new instance. More...
 
- Public Member Functions inherited from com.realtime.crossfire.jxclient.commands.AbstractCommand
String getCommandName ()
 Returns the name of the command.
Returns
the name
More...
 
String toString ()
 

Private Attributes

final ScriptManager scriptManager
 The ScriptManager to use. More...
 

Additional Inherited Members

- Protected Member Functions inherited from com.realtime.crossfire.jxclient.commands.AbstractCommand
 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...
 

Detailed Description

Implements the "scriptkillall" command.

It terminates all running scripts.

Author
Andreas Kirschbaum

Definition at line 34 of file ScriptkillallCommand.java.

Constructor & Destructor Documentation

◆ ScriptkillallCommand()

com.realtime.crossfire.jxclient.commands.ScriptkillallCommand.ScriptkillallCommand ( @NotNull final ScriptManager  scriptManager,
@NotNull final CrossfireServerConnection  crossfireServerConnection 
)

Creates a new instance.

Parameters
scriptManagerthe script manager to use
crossfireServerConnectionthe connection instance

Definition at line 47 of file ScriptkillallCommand.java.

References com.realtime.crossfire.jxclient.commands.ScriptkillallCommand.scriptManager.

Member Function Documentation

◆ allArguments()

boolean com.realtime.crossfire.jxclient.commands.ScriptkillallCommand.allArguments ( )

Returns whether all remaining commands should be included as arguments.

Returns
whether all remaining commands should be included as arguments

Implements com.realtime.crossfire.jxclient.commands.Command.

Definition at line 56 of file ScriptkillallCommand.java.

◆ execute()

void com.realtime.crossfire.jxclient.commands.ScriptkillallCommand.execute ( @NotNull final String  args)

Member Data Documentation

◆ scriptManager

final ScriptManager com.realtime.crossfire.jxclient.commands.ScriptkillallCommand.scriptManager
private

The documentation for this class was generated from the following file: