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 anyItem
under the givenNode
that match the given name pattern.
-
-
Constructor Summary
Constructors Constructor Description RemoveItems()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
execute(org.apache.commons.chain.Context ctx)
String
getPathKey()
String
getPatternKey()
void
setPathKey(String pathKey)
void
setPatternKey(String patternKey)
-
-
-
Method Detail
-
execute
public boolean execute(org.apache.commons.chain.Context ctx) throws Exception
- Specified by:
execute
in 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
-
-