Class LsNodes
- java.lang.Object
-
- org.apache.jackrabbit.standalone.cli.info.AbstractLs
-
- org.apache.jackrabbit.standalone.cli.info.AbstractLsNodes
-
- org.apache.jackrabbit.standalone.cli.info.LsNodes
-
- All Implemented Interfaces:
org.apache.commons.chain.Command
public class LsNodes extends AbstractLsNodes
List theNode
s under the current workingNode
that match the given pattern.
-
-
Field Summary
-
Fields inherited from class org.apache.jackrabbit.standalone.cli.info.AbstractLs
longWidth
-
-
Constructor Summary
Constructors Constructor Description LsNodes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Iterator
getNodes(org.apache.commons.chain.Context ctx)
String
getPatternKey()
void
setPatternKey(String patternKey)
-
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
-
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
-
getPatternKey
public String getPatternKey()
- Returns:
- the pattern key
-
setPatternKey
public void setPatternKey(String patternKey)
- Parameters:
patternKey
- the pattern key to set
-
-