|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.dsrg.sofa.cushion.Cushion
public class Cushion
Main class of the Cushion.
Constructor Summary | |
---|---|
Cushion()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Main method. |
static void |
printActionResultMessage(ActionInterface action,
int actionResult,
java.io.PrintStream output)
Prints out a message that informs user about action result. |
static int |
runCushion(java.lang.String[] args)
Runs cushion. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Cushion()
Method Detail |
---|
public static void main(java.lang.String[] args) throws java.lang.Exception
Calls directly runCushion(String[])
and terminates VM with the return value.
Use runCushion(String[])
instead
whenever the VM termination is not desired.
args
- command-line arguments
java.lang.Exception
- exceptionpublic static int runCushion(java.lang.String[] args) throws java.lang.Exception
args
- command line arguments
java.lang.Exception
- exceptionpublic static void printActionResultMessage(ActionInterface action, int actionResult, java.io.PrintStream output)
Expected action result codes are enumerated as integer
constants at ActionInterface
.
action
- ActionInterface
that has been executedactionResult
- action execution resultoutput
- PrintStream
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |