org.apache.jackrabbit.standalone.cli.info
Class LsCollectedNodes
java.lang.Object
org.apache.jackrabbit.standalone.cli.info.AbstractLs
org.apache.jackrabbit.standalone.cli.info.AbstractLsNodes
org.apache.jackrabbit.standalone.cli.info.LsCollectedNodes
- All Implemented Interfaces:
- org.apache.commons.chain.Command
public class LsCollectedNodes
- extends AbstractLsNodes
Lists collected Node
s.
This Command
looks for an Iterator
under the
given Context
variable and lists its Node
s.
Methods inherited from class org.apache.jackrabbit.standalone.cli.info.AbstractLsNodes |
execute, getHasLockKey, getLockableKey, getLockedKey, getLockTokenKey, getMixinKey, getModifiedKey, getNew_Key, getNodesSizeKey, getPathKey, getPropertiesSizeKey, getReferenceableKey, getReferencesSizeKey, getUuidKey, getVersionableKey, setHasLockKey, setLockableKey, setLockedKey, setLockTokenKey, setMixinKey, setModifiedKey, setNew_Key, setNodesSizeKey, setPathKey, setPropertiesSizeKey, setReferenceableKey, setReferencesSizeKey, setUuidKey, setVersionableKey |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LsCollectedNodes
public LsCollectedNodes()
getFromKey
public String getFromKey()
- Returns:
- the context variable
setFromKey
public void setFromKey(String contextVariable)
- Sets the
Context variable
- Parameters:
contextVariable
- the context variable
getNodes
protected Iterator getNodes(org.apache.commons.chain.Context ctx)
throws CommandException,
RepositoryException
-
- Specified by:
getNodes
in class AbstractLsNodes
- Parameters:
ctx
- the Context
- Returns:
- the
Nodes to show
- Throws:
CommandException
RepositoryException
- if the current working Repository
throws a RepositoryException
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.