Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.measurement.ext
Class BaselineChangeEvent

java.lang.Object
  extended by org.hyperic.hq.events.AbstractEvent
      extended by org.hyperic.hq.measurement.ext.BaselineChangeEvent
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, ResourceEventInterface

public class BaselineChangeEvent
extends AbstractEvent
implements java.io.Serializable, ResourceEventInterface

delivers baseline change events to any registered consumer.

See Also:
Serialized Form

Constructor Summary
BaselineChangeEvent(java.lang.Integer measurementId, java.lang.Double mean, java.lang.Double minExpectedVal, java.lang.Double maxExpectedVal)
          Creates a new instance of MeasurementEvent
 
Method Summary
 java.lang.Double getMaxExpectedVal()
           
 java.lang.Double getMean()
           
 java.lang.Double getMinExpectedVal()
           
 AppdefEntityID getResource()
           
 
Methods inherited from class org.hyperic.hq.events.AbstractEvent
equals, getId, getInstanceId, getTimestamp, hashCode, isLoggingSupported, setId, setInstanceId, setTimestamp
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaselineChangeEvent

public BaselineChangeEvent(java.lang.Integer measurementId,
                           java.lang.Double mean,
                           java.lang.Double minExpectedVal,
                           java.lang.Double maxExpectedVal)
Creates a new instance of MeasurementEvent

Parameters:
measurementId - The measurement ID
mean - The mean baseline value after the change
minExpectedVal - The min expected value after the change
maxExpectedVal - The max expected value after the change
Method Detail

getMaxExpectedVal

public java.lang.Double getMaxExpectedVal()
Returns:
The expected max after the change

getMean

public java.lang.Double getMean()
Returns:
The baseline mean after the change

getMinExpectedVal

public java.lang.Double getMinExpectedVal()
Returns:
The expected min after the change

getResource

public AppdefEntityID getResource()
Specified by:
getResource in interface ResourceEventInterface
See Also:
ResourceEventInterface.getResource()

Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.