|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--yakscript.Action | +--yakscript.action.Debug
Syntax: Debug <message>
Prints message to stdout. Variables are substituted, making this useful for debugging.
Fields inherited from class yakscript.Action |
arguments, condition |
Constructor Summary | |
Debug()
|
Method Summary | |
boolean |
exec(YakScript ys)
Executes this action Override this to actually provide the functionality of your action |
java.lang.String |
getKeyword()
Return the keyword of this action |
void |
setArguments(java.util.StringTokenizer _arguments)
Set the arguments for this action and verify their contents Override this if you need to perform syntax checking on the arguments passed to your action |
Methods inherited from class yakscript.Action |
isCondition, isFinal, isInitial, setCondition |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Debug()
Method Detail |
public java.lang.String getKeyword()
Action
getKeyword
in class Action
yakscript.Action
public void setArguments(java.util.StringTokenizer _arguments) throws SyntaxErrorException
Action
setArguments
in class Action
yakscript.Action
args
- Arguments to passSyntaxErrorException
- Thrown if the arguments are
syntactically invalid for this actionpublic boolean exec(YakScript ys)
Action
exec
in class Action
yakscript.Action
yakScript
- Currently executing instance of YakScript
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |