Class CommandExec
java.lang.Object
com.realtime.crossfire.jxclient.commands.CommandExec
A
Command
instance and its arguments.-
Constructor Summary
ConstructorsConstructorDescriptionCommandExec
(@Nullable Command command, @NotNull String args) Creates a new instance. -
Method Summary
-
Constructor Details
-
CommandExec
Creates a new instance.- Parameters:
command
- the command to execute ornull
to send as "ncom"args
- the command arguments
-
-
Method Details
-
getCommand
Returns the command to execute ornull
to execute as "ncom".- Returns:
- the command or
null
-
getArgs
Returns the command arguments.- Returns:
- the command arguments
-
hashCode
public int hashCode() -
equals
-
toString
-