Class ScriptkillallCommand
- java.lang.Object
-
- com.realtime.crossfire.jxclient.commands.AbstractCommand
-
- com.realtime.crossfire.jxclient.commands.ScriptkillallCommand
-
- All Implemented Interfaces:
Command
public class ScriptkillallCommand extends AbstractCommand
Implements the "scriptkillall" command. It terminates all running scripts.
-
-
Constructor Summary
Constructors Constructor Description ScriptkillallCommand(@NotNull ScriptManager scriptManager, @NotNull CrossfireServerConnection crossfireServerConnection)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallArguments()Returns whether all remaining commands should be included as arguments.voidexecute(@NotNull java.lang.String args)Executes the command with the given arguments.-
Methods inherited from class com.realtime.crossfire.jxclient.commands.AbstractCommand
drawInfo, drawInfo, drawInfoError, getCommandName, toString
-
-
-
-
Constructor Detail
-
ScriptkillallCommand
public ScriptkillallCommand(@NotNull @NotNull ScriptManager scriptManager, @NotNull @NotNull CrossfireServerConnection crossfireServerConnection)Creates a new instance.- Parameters:
scriptManager- the script manager to usecrossfireServerConnection- the connection instance
-
-
Method Detail
-
allArguments
public boolean allArguments()
Description copied from interface:CommandReturns whether all remaining commands should be included as arguments.- Returns:
- whether all remaining commands should be included as arguments
-
execute
public void execute(@NotNull @NotNull java.lang.String args)Description copied from interface:CommandExecutes the command with the given arguments.- Parameters:
args- the command arguments
-
-