org.ow2.jasmine.event.messages
Class JasmineEventDetails

java.lang.Object
  extended by org.ow2.jasmine.event.messages.JasmineEventDetails
All Implemented Interfaces:
java.io.Serializable

public class JasmineEventDetails
extends java.lang.Object
implements java.io.Serializable

Event details for a JasmineEvent.

See Also:
Serialized Form

Constructor Summary
JasmineEventDetails(java.lang.String source, java.lang.String probe, java.lang.String value, java.util.Date timestamp, java.lang.String sname)
          Constructor: saves the values.
 
Method Summary
 java.lang.String getProbe()
           
 java.lang.String getSname()
           
 java.lang.String getSource()
           
 java.util.Date getTimestamp()
           
 java.lang.String getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JasmineEventDetails

public JasmineEventDetails(java.lang.String source,
                           java.lang.String probe,
                           java.lang.String value,
                           java.util.Date timestamp,
                           java.lang.String sname)
Constructor: saves the values.

Parameters:
source - Event source (for example, MBeanCmd or JMX).
probe - Probe type.
value - Probed value.
timestamp - Probe time (precise up to a second).
Method Detail

getSource

public java.lang.String getSource()
Returns:
Event source (for example, MBeanCmd or JMX).

getProbe

public java.lang.String getProbe()
Returns:
Probe type.

getValue

public java.lang.String getValue()
Returns:
Probed value.

getTimestamp

public java.util.Date getTimestamp()
Returns:
Probe time (precise up to a second).

getSname

public java.lang.String getSname()
Returns:
JMX url of the probe.


Copyright © 2009 OW2 Consortium. All Rights Reserved.