-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document composite rules about their thread unsafety
Resolves #320
- Loading branch information
1 parent
01d8861
commit 0755a57
Showing
4 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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]) | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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]) | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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]) | ||
*/ | ||
|