com.jrockit.mc.rjmx.notification
Interface IValueEvaluator

All Superinterfaces:
com.jrockit.mc.common.xml.XmlEnabled

public interface IValueEvaluator
extends com.jrockit.mc.common.xml.XmlEnabled

The interface for a value evaluator.

Author:
Marcus Hirt

Field Summary
static java.lang.String XML_COMPONENT_TAG
           
static java.lang.String XML_ELEMENT_EVALUATOR_CLASS
           
 
Method Summary
 java.lang.String getEvaluationConditionString()
          Returns a string that describes the evaluation condition.
 java.lang.String getOperatorString()
          Returns a string that represents the operator that the evaluator uses for evaluation.
 void initializeFromXml(org.w3c.dom.Element node)
           
 boolean triggerOn(java.lang.Object val)
          Returns true if the value of the argument should result in a Notification.
 
Methods inherited from interface com.jrockit.mc.common.xml.XmlEnabled
exportToXml, getComponentTag
 

Field Detail

XML_COMPONENT_TAG

static final java.lang.String XML_COMPONENT_TAG
See Also:
Constant Field Values

XML_ELEMENT_EVALUATOR_CLASS

static final java.lang.String XML_ELEMENT_EVALUATOR_CLASS
See Also:
Constant Field Values
Method Detail

triggerOn

boolean triggerOn(java.lang.Object val)
Returns true if the value of the argument should result in a Notification.

Parameters:
val - the value to evaluate.
Returns:
true if the value should result in a notification.

getOperatorString

java.lang.String getOperatorString()
Returns a string that represents the operator that the evaluator uses for evaluation.

Returns:
The operator as a String.

getEvaluationConditionString

java.lang.String getEvaluationConditionString()
Returns a string that describes the evaluation condition.

Returns:
The evaluation condition as a String.

initializeFromXml

void initializeFromXml(org.w3c.dom.Element node)
Specified by:
initializeFromXml in interface com.jrockit.mc.common.xml.XmlEnabled


Copyright © 1999, 2011, Oracle and/or its affiliates. All rights reserved.