|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.standalone.cli.collect.AbstractCollect
public abstract class AbstractCollect
Collect the children items from the given node and store them under the given key.
Constructor Summary | |
---|---|
AbstractCollect()
|
Method Summary | |
---|---|
boolean |
execute(org.apache.commons.chain.Context ctx)
|
String |
getDepthKey()
|
String |
getDestKey()
|
String |
getNamePatternKey()
|
String |
getSrcPathKey()
|
protected abstract boolean |
isCollectNodes()
Collect nodes flag |
protected abstract boolean |
isCollectProperties()
Collect properties flag |
void |
setDepthKey(String depthKey)
|
void |
setDestKey(String destKey)
Sets the destination key |
void |
setNamePatternKey(String namePatternKey)
|
void |
setSrcPathKey(String srcPathKey)
Sets the source path key |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractCollect()
Method Detail |
---|
public final boolean execute(org.apache.commons.chain.Context ctx) throws Exception
execute
in interface org.apache.commons.chain.Command
Exception
public String getDepthKey()
public void setDepthKey(String depthKey)
depthKey
- Set the context attribute key for the depth attributepublic String getNamePatternKey()
public void setNamePatternKey(String namePatternKey)
namePatternKey
- context attribute key for the name pattern attributeprotected abstract boolean isCollectNodes()
Node
s must be collectedprotected abstract boolean isCollectProperties()
Property
s must be collectedpublic String getDestKey()
public void setDestKey(String destKey)
destKey
- the detination keypublic String getSrcPathKey()
public void setSrcPathKey(String srcPathKey)
srcPathKey
- the source path key
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |