Package com.aquima.interactions.rule
Interface IRuleGroup
- All Known Implementing Classes:
RuleGroup
public interface IRuleGroup
A rule group is used to combine several rules, in order to define certain pre-conditions in a single place. Rule
groups are for instance used to combine the business rules of a certain product to enable or disable all those rules
depending on the chosen product.
- Since:
- 7.1
- Author:
- O. Kerpershoek
-
Method Summary
Modifier and TypeMethodDescriptionThis method returns an array containing the conditions that should be met in order for the rule group to be active.getName()
This method returns the (unique) name of the rule group.
-
Method Details
-
getName
String getName()This method returns the (unique) name of the rule group.- Returns:
- the (unique) name of the rule group.
-
getConditions
ICondition[] getConditions()This method returns an array containing the conditions that should be met in order for the rule group to be active. If the group does not have any conditions that must be met, this method will return an empty array. Only rules that belong to a group of which all conditions are met will be evaluated.- Returns:
- an array containing the conditions that should be met in order for the rule group to be active.
-