booleanThreshold element

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.

Details

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.

Attributes

<booleanThreshold> has the following attribute:

Table 1. Attributes of the <booleanThreshold> element
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

Contained within

<booleanThreshold> is contained within the following element:

Contains

<booleanThreshold> contains no elements.

Related concepts
Expressions