public abstract class RuleBasedCommand extends BaseRepositoryCommand
Modifier and Type | Field and Description |
---|---|
static String |
ATTRIBUTE_RULE
You can pass a rule to the command (optional).
|
log
CONTINUE_PROCESSING, PROCESSING_COMPLETE
Constructor and Description |
---|
RuleBasedCommand() |
Modifier and Type | Method and Description |
---|---|
protected Rule |
getDefaultRule() |
String |
getItemTypes() |
Rule |
getRule() |
void |
release()
If a clone is passivated we call this method.
|
void |
setItemTypes(String nodeTypes) |
void |
setRule(Rule rule) |
getJCRNode, getNode, getPath, getRepository, getUuid, setPath, setRepository, setUuid
clone, execute, execute, isEnabled, setEnabled
public static final String ATTRIBUTE_RULE
public Rule getRule()
protected Rule getDefaultRule()
public String getItemTypes()
public void setItemTypes(String nodeTypes)
public void setRule(Rule rule)
rule
- the Rule to setpublic void release()
MgnlCommand
release
in class BaseRepositoryCommand
Copyright © 2003–2015 Magnolia International Ltd.. All rights reserved.