Class LsItems
- java.lang.Object
-
- org.apache.jackrabbit.standalone.cli.info.AbstractLs
-
- org.apache.jackrabbit.standalone.cli.info.AbstractLsItems
-
- org.apache.jackrabbit.standalone.cli.info.LsItems
-
- All Implemented Interfaces:
org.apache.commons.chain.Command
public class LsItems extends AbstractLsItems
List items- name
- type
- isNode
- isNew
- isModified
-
-
Field Summary
-
Fields inherited from class org.apache.jackrabbit.standalone.cli.info.AbstractLs
longWidth
-
-
Constructor Summary
Constructors Constructor Description LsItems()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IteratorgetItems(org.apache.commons.chain.Context ctx)StringgetPatternKey()voidsetPatternKey(String pattern)-
Methods inherited from class org.apache.jackrabbit.standalone.cli.info.AbstractLsItems
execute
-
Methods inherited from class org.apache.jackrabbit.standalone.cli.info.AbstractLs
getDefaultMaxItems, getMaxItems, getMaxItemsKey, isPath, printFooter, setDefaultMaxItems, setMaxItemsKey, setPath
-
-
-
-
Method Detail
-
getPatternKey
public String getPatternKey()
- Returns:
- the name pattern
-
setPatternKey
public void setPatternKey(String pattern)
- Parameters:
pattern- the pattern
-
getItems
protected Iterator getItems(org.apache.commons.chain.Context ctx) throws CommandException, RepositoryException
- Specified by:
getItemsin classAbstractLsItems- Parameters:
ctx- theContext- Returns:
- Iterator containing the Items to list
- Throws:
CommandException- if an errors occursRepositoryException- if the currentRepositorythrows aRepositoryException
-
-