|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.tomp.xtcl.command.AbstractCommand
net.sf.tomp.xtcl.command.Verbose
public class Verbose
Sets verbosity to Context.
Field Summary | |
---|---|
protected boolean |
verbose
verbosity |
Constructor Summary | |
---|---|
Verbose()
|
Method Summary | |
---|---|
int |
execute(Context c)
Sets verbosity to Context. |
void |
setVerbose(boolean v)
Remembers verbosity to be later set Context. |
java.lang.String |
toString()
|
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 boolean verbose
Constructor Detail |
---|
public Verbose()
Method Detail |
---|
public void setVerbose(boolean v)
v
- verbositypublic int execute(Context c) throws java.lang.Exception
execute
in interface Command
execute
in class AbstractCommand
c
- 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 |