OverrideAction class

The override action to apply to the rules in a rule group. Used only for rule statements that reference a rule group, like RuleGroupReferenceStatement and ManagedRuleGroupStatement.

Set the override action to none to leave the rule actions in effect. Set it to count to only count matches, regardless of the rule action settings.

In a Rule, you must specify either this OverrideAction setting or the rule Action setting, but not both:

  • If the rule statement references a rule group, use this override action setting and not the action setting.
  • If the rule statement does not reference a rule group, use the rule action setting and not this rule override action setting.

Constructors

OverrideAction({CountAction? count, NoneAction? none})
OverrideAction.fromJson(Map<String, dynamic> json)
factory

Properties

count CountAction?
Override the rule action setting to count.
final
hashCode int
The hash code for this object.
no setterinherited
none NoneAction?
Don't override the rule action setting.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited