Class RemoveItems
- java.lang.Object
-
- org.apache.jackrabbit.standalone.cli.core.RemoveItems
-
- All Implemented Interfaces:
org.apache.commons.chain.Command
public class RemoveItems extends Object implements org.apache.commons.chain.Command
Remove anyItemunder the givenNodethat match the given name pattern.
-
-
Constructor Summary
Constructors Constructor Description RemoveItems()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexecute(org.apache.commons.chain.Context ctx)StringgetPathKey()StringgetPatternKey()voidsetPathKey(String pathKey)voidsetPatternKey(String patternKey)
-
-
-
Method Detail
-
execute
public boolean execute(org.apache.commons.chain.Context ctx) throws Exception- Specified by:
executein interfaceorg.apache.commons.chain.Command- Throws:
Exception
-
getPatternKey
public String getPatternKey()
- Returns:
- the pattern key
-
setPatternKey
public void setPatternKey(String patternKey)
- Parameters:
patternKey- the pattern key to set
-
getPathKey
public String getPathKey()
- Returns:
- the path key
-
setPathKey
public void setPathKey(String pathKey)
- Parameters:
pathKey- the path key to set
-
-