The <booleanThreshold> element is valid only for the threshold rule. It contains an expression that is called as each event is received. The expression computes or compares the threshold value based on the current event and on any other events that have been accepted by the rule. The expression returns a boolean value of true or false to indicate whether the threshold has been met.
Refer to Variables for information about the variables that can be used in expressions. The use of certain variables is dependent on the context of the expression.
<booleanThreshold> has the following attribute:
Name | Description | Data type | Required? |
---|---|---|---|
expressionLanguage | Identifies the programming language in which the expression is written. Because the Java™ programming language is the only supported expression language, the only valid value for this attribute is java. | xsd:NMTOKEN | Yes |
<booleanThreshold> contains no elements.