Project CASUAL
API for CASUAL
 All Classes Namespaces Functions Variables
Public Member Functions | List of all members
CASUAL.language.Command Class Reference

Public Member Functions

 Command (String command)
 
void reset ()
 
void reset (String command)
 
boolean isFinished ()
 
String get ()
 
String getReturn ()
 
boolean getReturnPassedOrFailed ()
 
void waitFor () throws InterruptedException
 
void set (String command)
 
void setReturn (boolean passed, String retval)
 
String toString ()
 
 Command (String command)
 
void reset ()
 
void reset (String command)
 
boolean isFinished ()
 
String get ()
 
String getReturn ()
 
boolean getReturnPassedOrFailed ()
 
void waitFor () throws InterruptedException
 
void set (String command)
 
void setReturn (boolean passed, String retval)
 
String toString ()
 

Detailed Description

holds a command and return value for processing

Author
adamoutler (adamo.nosp@m.utle.nosp@m.r@gma.nosp@m.il.c.nosp@m.om)

Constructor & Destructor Documentation

CASUAL.language.Command.Command ( String  command)

initializes a new CASUAL command object

Parameters
commandcommand to run
CASUAL.language.Command.Command ( String  command)

initializes a new CASUAL command object

Parameters
commandcommand to run

Member Function Documentation

String CASUAL.language.Command.get ( )
Returns
the command to be executed
String CASUAL.language.Command.get ( )
Returns
the command to be executed
String CASUAL.language.Command.getReturn ( )
Returns
the return value from the command
String CASUAL.language.Command.getReturn ( )
Returns
the return value from the command
boolean CASUAL.language.Command.getReturnPassedOrFailed ( )
Returns
true if no problems detected. false if problem detected.
boolean CASUAL.language.Command.getReturnPassedOrFailed ( )
Returns
true if no problems detected. false if problem detected.
boolean CASUAL.language.Command.isFinished ( )
Returns
true if command has been executed
boolean CASUAL.language.Command.isFinished ( )
Returns
true if command has been executed
void CASUAL.language.Command.reset ( )

releases all waitFor()s and resets the command to be run once again.

void CASUAL.language.Command.reset ( )

releases all waitFor()s and resets the command to be run once again.

void CASUAL.language.Command.reset ( String  command)

releases all waitFor()s and resets the command to be run once again. releases all waitFor()s and resets the command to be run once again.

Parameters
commandmodified command to be run
void CASUAL.language.Command.reset ( String  command)

releases all waitFor()s and resets the command to be run once again. releases all waitFor()s and resets the command to be run once again.

Parameters
commandmodified command to be run
void CASUAL.language.Command.set ( String  command)

sets the CASUAL Command to process.

Parameters
commandCASUAL command
void CASUAL.language.Command.set ( String  command)

sets the CASUAL Command to process.

Parameters
commandCASUAL command
void CASUAL.language.Command.setReturn ( boolean  passed,
String  retval 
)

sets the return value for the command.

Parameters
passedtrue if passed
retvalreturn value from command
void CASUAL.language.Command.setReturn ( boolean  passed,
String  retval 
)

sets the return value for the command.

Parameters
passedtrue if passed
retvalreturn value from command
String CASUAL.language.Command.toString ( )
Returns
String CASUAL.language.Command.toString ( )
Returns

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