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 Iterator
getItems(org.apache.commons.chain.Context ctx)
String
getPatternKey()
void
setPatternKey(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:
getItems
in classAbstractLsItems
- Parameters:
ctx
- theContext
- Returns:
- Iterator containing the Items to list
- Throws:
CommandException
- if an errors occursRepositoryException
- if the currentRepository
throws aRepositoryException
-
-