Skip to content

Commit

Permalink
Document composite rules about their thread unsafety
Browse files Browse the repository at this point in the history
Resolves #320
  • Loading branch information
fmbenhassine committed Dec 6, 2020
1 parent 01d8861 commit 0755a57
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
* 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 ([email protected])
*/
public class ActivationRuleGroup extends CompositeRule {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@

/**
* 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>
*
* @author Mahmoud Ben Hassine ([email protected])
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
* priority acts as a condition: if the rule with the highest priority evaluates
* to true, then we try to evaluate the rest of the rules and execute the ones
* that evaluate to true.
*
* <strong>This class is not thread-safe.</strong>
*
* @author Dag Framstad ([email protected])
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
/**
* 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).
*
* <strong>This class is not thread-safe.</strong>
*
* @author Mahmoud Ben Hassine ([email protected])
*/
Expand Down

0 comments on commit 0755a57

Please sign in to comment.