Rule.Update Interface
Implements
public static interface Rule.Update
extends Settable<Update>
The entirety of a rule update inside a RuleSet.Update flow.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract Update |
withActions(List<DeliveryRuleAction> actions)
Specifies the list of actions that are executed when all the conditions of a rule are satisfied. |
| abstract Update |
withConditions(List<DeliveryRuleCondition> conditions)
Specifies the list of conditions that must be matched for the actions to be executed. |
| abstract Update |
withMatchProcessingBehavior(MatchProcessingBehavior matchProcessingBehavior)
Specifies whether the rules engine should continue running the remaining rules or stop after this rule is matched. |
| abstract Update |
withOrder(int order)
Specifies the order in which the rule is applied for the endpoint. |
Method Details
withActions
public abstract Rule.Update withActions(List<DeliveryRuleAction> actions)
Specifies the list of actions that are executed when all the conditions of a rule are satisfied.
Parameters:
Returns:
withConditions
public abstract Rule.Update withConditions(List<DeliveryRuleCondition> conditions)
Specifies the list of conditions that must be matched for the actions to be executed.
Parameters:
Returns:
withMatchProcessingBehavior
public abstract Rule.Update withMatchProcessingBehavior(MatchProcessingBehavior matchProcessingBehavior)
Specifies whether the rules engine should continue running the remaining rules or stop after this rule is matched.
Parameters:
Returns:
withOrder
public abstract Rule.Update withOrder(int order)
Specifies the order in which the rule is applied for the endpoint.
Parameters:
Returns: