info.magnolia.module.admininterface.commands
Class RuleBasedCommand
java.lang.Object
info.magnolia.commands.MgnlCommand
info.magnolia.module.admininterface.commands.BaseRepositoryCommand
info.magnolia.module.admininterface.commands.RuleBasedCommand
- All Implemented Interfaces:
- org.apache.commons.chain.Command
- Direct Known Subclasses:
- BaseActivationCommand, VersionCommand
public abstract class RuleBasedCommand
- extends BaseRepositoryCommand
- Author:
- Sameer Charles
$Id$
Fields inherited from interface org.apache.commons.chain.Command |
CONTINUE_PROCESSING, PROCESSING_COMPLETE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ATTRIBUTE_RULE
public static final String ATTRIBUTE_RULE
- You can pass a rule to the command (optional)
- See Also:
- Constant Field Values
RuleBasedCommand
public RuleBasedCommand()
getRule
public Rule getRule()
getItemTypes
public String getItemTypes()
setItemTypes
public void setItemTypes(String nodeTypes)
setRule
public void setRule(Rule rule)
- Parameters:
rule
- the Rule to set
release
public void release()
- Description copied from class:
MgnlCommand
- If a clone is passivated we call this method. Please clean up private properties.
- Overrides:
release
in class BaseRepositoryCommand
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.