Class Dump
- java.lang.Object
-
- org.apache.jackrabbit.standalone.cli.info.Dump
-
- All Implemented Interfaces:
org.apache.commons.chain.Command
public class Dump extends Object implements org.apache.commons.chain.Command
Dump stored data from the current workingNode
-
-
Constructor Summary
Constructors Constructor Description Dump()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dump(PrintWriter out, Node n)
Dumps the givenNode
to the givenPrintWriter
boolean
execute(org.apache.commons.chain.Context ctx)
String
getPathKey()
void
setPathKey(String pathKey)
-
-
-
Method Detail
-
execute
public boolean execute(org.apache.commons.chain.Context ctx) throws Exception
- Specified by:
execute
in interfaceorg.apache.commons.chain.Command
- Throws:
Exception
-
dump
public void dump(PrintWriter out, Node n) throws RepositoryException
Dumps the givenNode
to the givenPrintWriter
- Parameters:
out
- thePrintWriter
n
- theNode
- Throws:
RepositoryException
-
getPathKey
public String getPathKey()
- Returns:
- the path key
-
setPathKey
public void setPathKey(String pathKey)
- Parameters:
pathKey
- the path key to set
-
-