|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.tomp.xtcl.command.AbstractCommand net.sf.tomp.xtcl.command.VarCommand net.sf.tomp.xtcl.command.SetCommand
public class SetCommand
Copies src var to var (shallow copy).
Field Summary | |
---|---|
protected java.lang.String |
srcVar
src var name |
Fields inherited from class net.sf.tomp.xtcl.command.VarCommand |
---|
var |
Constructor Summary | |
---|---|
SetCommand()
|
Method Summary | |
---|---|
int |
execute(Context context)
Copies src var to var (shallow copy). |
void |
setSrcVar(java.lang.String r)
set src var name |
java.lang.String |
toString()
DOCUMENT ME! |
Methods inherited from class net.sf.tomp.xtcl.command.VarCommand |
---|
setVar |
Methods inherited from class net.sf.tomp.xtcl.command.AbstractCommand |
---|
done, initParameters, listArray, listList, listMap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String srcVar
Constructor Detail |
---|
public SetCommand()
Method Detail |
---|
public void setSrcVar(java.lang.String r)
r
- src var namepublic int execute(Context context) throws java.lang.Exception
execute
in interface Command
execute
in class AbstractCommand
context
- Context this command will be executed in.
java.lang.Exception
- only if I/O error occurs when reporting the result to user.public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |