org.jboss.monitor
Class StringThresholdNotification

java.lang.Object
  extended by java.util.EventObject
      extended by javax.management.Notification
          extended by org.jboss.monitor.JBossMonitorNotification
              extended by org.jboss.monitor.StringThresholdNotification
All Implemented Interfaces:
Serializable

public class StringThresholdNotification
extends JBossMonitorNotification

Comment

Version:
$Revision: 57210 $
Author:
Bill Burke
See Also:
Serialized Form

Field Summary
static String THRESHOLD
           
static String TRIGGERED_ATTRIBUTE_VALUE
           
 
Fields inherited from class org.jboss.monitor.JBossMonitorNotification
attribute, ATTRIBUTE, MONITOR_NAME, MONITOR_OBJECT_NAME, monitorName, monitorObjectName, NOTIFICATION_TYPE, OBSERVED_OBJECT, observedObject
 
Fields inherited from class javax.management.Notification
source
 
Constructor Summary
StringThresholdNotification(String monitorName, javax.management.ObjectName monitorObjectName, javax.management.ObjectName observedObject, String attribute, String value, String threshold, boolean equality, long sequenceNumber)
           
 
Method Summary
 boolean getEquality()
           
 String getThreshold()
           
 String getValue()
           
 Map substitutionMap()
          Return a substitution map that can be used by org.jboss.util.Strings.subst to create a printable alert message.
 
Methods inherited from class org.jboss.monitor.JBossMonitorNotification
getAttribute, getMonitorName, getMonitorObjectName, getObservedObject
 
Methods inherited from class javax.management.Notification
getMessage, getSequenceNumber, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData, toString
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TRIGGERED_ATTRIBUTE_VALUE

public static final String TRIGGERED_ATTRIBUTE_VALUE
See Also:
Constant Field Values

THRESHOLD

public static final String THRESHOLD
See Also:
Constant Field Values
Constructor Detail

StringThresholdNotification

public StringThresholdNotification(String monitorName,
                                   javax.management.ObjectName monitorObjectName,
                                   javax.management.ObjectName observedObject,
                                   String attribute,
                                   String value,
                                   String threshold,
                                   boolean equality,
                                   long sequenceNumber)
Method Detail

getValue

public String getValue()

getThreshold

public String getThreshold()

getEquality

public boolean getEquality()

substitutionMap

public Map substitutionMap()
Return a substitution map that can be used by org.jboss.util.Strings.subst to create a printable alert message.

Overrides:
substitutionMap in class JBossMonitorNotification
Returns:


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.