Annotation used to mark a class as a ruleset.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumTheSortenum represents different sorting modes for rule sets. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionDefines how rules are sorted in the event of an absence or equality of the salience parameter.Provides optional name for the ruleset
-
Element Details
-
value
String valueProvides optional name for the ruleset- Returns:
- name of the ruleset
- Default:
- ""
-
defaultSort
RuleSet.Sort defaultSortDefines how rules are sorted in the event of an absence or equality of the salience parameter. As compiled Java classes do not retain any sorting information, this method determines the fallback sorting mechanism.
- Returns:
- the mode used for sorting.
- Default:
- BY_NAME
-