Resolves #320
@ -33,6 +33,8 @@ import java.util.TreeSet;
* rule and ignores other rules in the group (XOR logic).
* Rules are first sorted by their natural order (priority by default) within the group.
*
* <strong>This class is not thread-safe.</strong>
* @author Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com)
*/
public class ActivationRuleGroup extends CompositeRule {
@ -36,6 +36,9 @@ import java.util.TreeSet;
/**
* Base class representing a composite rule composed of a set of rules.
* <strong>This class is not thread-safe.
* Sub-classes are inherently not thread-safe.</strong>
public abstract class CompositeRule extends BasicRule {
@ -38,6 +38,8 @@ import java.util.Set;
* to true, then we try to evaluate the rest of the rules and execute the ones
* that evaluate to true.
* @author Dag Framstad (dagframstad@gmail.com)
public class ConditionalRuleGroup extends CompositeRule {
@ -30,6 +30,8 @@ import org.jeasy.rules.api.Rule;
* A unit rule group is a composite rule that acts as a unit: Either all rules are
* applied or nothing is applied (all or nothing semantic).
public class UnitRuleGroup extends CompositeRule {