com.realtime.crossfire.jxclient.commands.CommandExec Class Reference

Collaboration diagram for com.realtime.crossfire.jxclient.commands.CommandExec:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CommandExec (@Nullable final Command command,@NotNull final String args)
Command getCommand ()
String getArgs ()
int hashCode ()
boolean equals (@Nullable final Object obj)
String toString ()

Detailed Description

A Command instance and its arguments.

Author:
Andreas Kirschbaum

Definition at line 31 of file CommandExec.java.


Constructor & Destructor Documentation

com.realtime.crossfire.jxclient.commands.CommandExec.CommandExec ( @Nullable final Command  command,
@NotNull final String  args 
)

Creates a new instance.

Parameters:
command the command to execute or null to send as "ncom"
args the command arguments

Definition at line 51 of file CommandExec.java.


Member Function Documentation

boolean com.realtime.crossfire.jxclient.commands.CommandExec.equals ( @Nullable final Object  obj  ) 

Definition at line 87 of file CommandExec.java.

String com.realtime.crossfire.jxclient.commands.CommandExec.getArgs (  ) 

Returns the command arguments.

Returns:
the command arguments

Definition at line 71 of file CommandExec.java.

Command com.realtime.crossfire.jxclient.commands.CommandExec.getCommand (  ) 

Returns the command to execute or null to execute as "ncom".

Returns:
the command or null

Definition at line 62 of file CommandExec.java.

int com.realtime.crossfire.jxclient.commands.CommandExec.hashCode (  ) 

Definition at line 79 of file CommandExec.java.

String com.realtime.crossfire.jxclient.commands.CommandExec.toString (  ) 

Definition at line 100 of file CommandExec.java.


The documentation for this class was generated from the following file:
Generated on Sun Nov 6 15:54:33 2011 for Crossfire JXClient, Trunk by  doxygen 1.6.3