net.sf.tomp.xtcl.command
Class DumpContext

java.lang.Object
  extended by net.sf.tomp.xtcl.command.AbstractCommand
      extended by net.sf.tomp.xtcl.command.DumpContext
All Implemented Interfaces:
Command

public class DumpContext
extends AbstractCommand

Dumps the Context content

Author:
tomp

Field Summary
protected  boolean deep
          deep?
 
Constructor Summary
DumpContext()
           
 
Method Summary
 int execute(Context context)
          Dumps the Context content.
 void setDeep(boolean v)
          set deep
 java.lang.String toString()
          String representation
 
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

deep

protected boolean deep
deep?

Constructor Detail

DumpContext

public DumpContext()
Method Detail

setDeep

public void setDeep(boolean v)
set deep

Parameters:
v - deep?

execute

public int execute(Context context)
            throws java.lang.Exception
Dumps the Context content.

Specified by:
execute in interface Command
Overrides:
execute in class AbstractCommand
Parameters:
context - what Context to dump
Returns:
0 (OK)
Throws:
java.lang.Exception

toString

public java.lang.String toString()
String representation

Overrides:
toString in class java.lang.Object
Returns:
"DUMP CONTEXT " + (deep ? "WITH VARIABLE CONTENT" : "");


Copyright © 2004-2005 Masaryk University in Brno, Faculty of Informatics, Czech Republic. All Rights Reserved.