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 collectedNode
s.
ThisCommand
looks for anIterator
under the givenContext
variable and lists itsNode
s.
-
-
Field Summary
-
Fields inherited from class org.apache.jackrabbit.standalone.cli.info.AbstractLs
longWidth
-
-
Constructor Summary
Constructors Constructor Description LsCollectedNodes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFromKey()
protected Iterator
getNodes(org.apache.commons.chain.Context ctx)
void
setFromKey(String contextVariable)
Sets theContext
variable-
Methods inherited from class org.apache.jackrabbit.standalone.cli.info.AbstractLsNodes
execute, getHasLockKey, getLockableKey, getLockedKey, getLockTokenKey, getMixinKey, getModifiedKey, getNewKey, getNodesSizeKey, getPathKey, getPropertiesSizeKey, getReferenceableKey, getReferencesSizeKey, getUuidKey, getVersionableKey, setHasLockKey, setLockableKey, setLockedKey, setLockTokenKey, setMixinKey, setModifiedKey, setNewKey, setNodesSizeKey, setPathKey, setPropertiesSizeKey, setReferenceableKey, setReferencesSizeKey, setUuidKey, setVersionableKey
-
Methods inherited from class org.apache.jackrabbit.standalone.cli.info.AbstractLs
getDefaultMaxItems, getMaxItems, getMaxItemsKey, isPath, printFooter, setDefaultMaxItems, setMaxItemsKey, setPath
-
-
-
-
Method Detail
-
getFromKey
public String getFromKey()
- Returns:
- the context variable
-
setFromKey
public void setFromKey(String contextVariable)
Sets theContext
variable- Parameters:
contextVariable
- the context variable
-
getNodes
protected Iterator getNodes(org.apache.commons.chain.Context ctx) throws CommandException, RepositoryException
- Specified by:
getNodes
in classAbstractLsNodes
- Parameters:
ctx
- theContext
- Returns:
- the
Node
s to show - Throws:
CommandException
RepositoryException
- if the current workingRepository
throws aRepositoryException
-
-