Class DefaultNoOpRuleActionStrategy
java.lang.Object
de.hybris.platform.ruleengineservices.action.impl.DefaultNoOpRuleActionStrategy
- All Implemented Interfaces:
RuleActionStrategy<ItemModel>,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
public class DefaultNoOpRuleActionStrategy
extends Object
implements RuleActionStrategy<ItemModel>, org.springframework.beans.factory.BeanNameAware
The DefaultNoOpRuleActionStrategy doesn't do anything.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(AbstractRuleActionRAO action) Applies the action described by the givenAbstractRuleActionRAO.Returns this strategy's unique IdvoidsetBeanName(String beanName) voidRevokes the Promotion Action that was applied.
-
Constructor Details
-
DefaultNoOpRuleActionStrategy
public DefaultNoOpRuleActionStrategy()
-
-
Method Details
-
apply
Description copied from interface:RuleActionStrategyApplies the action described by the givenAbstractRuleActionRAO.- Specified by:
applyin interfaceRuleActionStrategy<ItemModel>- Parameters:
action- the action to apply- Returns:
- list of
ItemModelthat are affected by the application of this action.
-
undo
Description copied from interface:RuleActionStrategyRevokes the Promotion Action that was applied.- Specified by:
undoin interfaceRuleActionStrategy<ItemModel>- Parameters:
action- the action to be undone
-
getStrategyId
Description copied from interface:RuleActionStrategyReturns this strategy's unique Id- Specified by:
getStrategyIdin interfaceRuleActionStrategy<ItemModel>- Returns:
- the strategy's Id
-
setBeanName
- Specified by:
setBeanNamein interfaceorg.springframework.beans.factory.BeanNameAware
-