public interface RuleActionStrategy<T extends ItemModel>
| Modifier and Type | Method and Description |
|---|---|
java.util.List<T> |
apply(AbstractRuleActionRAO action)
Applies the action described by the given
AbstractRuleActionRAO. |
java.lang.String |
getStrategyId()
Returns this strategy's unique Id
|
void |
undo(ItemModel action)
Revokes the Promotion Action that was applied.
|
java.util.List<T> apply(AbstractRuleActionRAO action)
AbstractRuleActionRAO.action - the action to applyItemModel that are affected by the application of this action.java.lang.String getStrategyId()
void undo(ItemModel action)
action - the action to be undoneCopyright © 2018 SAP SE. All Rights Reserved.