public class LsCollectedItems extends AbstractLsItems
Item
s.Command
looks for an Iterator
under the
given Context
variable and lists its Item
s.longWidth
Constructor and Description |
---|
LsCollectedItems() |
Modifier and Type | Method and Description |
---|---|
String |
getFromKey() |
protected Iterator |
getItems(org.apache.commons.chain.Context ctx) |
void |
setFromKey(String from)
Sets the context variable
|
execute
getDefaultMaxItems, getMaxItems, getMaxItemsKey, isPath, printFooter, setDefaultMaxItems, setMaxItemsKey, setPath
public String getFromKey()
public void setFromKey(String from)
from
- from key to setprotected Iterator getItems(org.apache.commons.chain.Context ctx) throws CommandException, RepositoryException
getItems
in class AbstractLsItems
ctx
- the Context
CommandException
- if an errors occursRepositoryException
- if the current Repository
throws a
RepositoryException
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.