org.ow2.jasmine.event.messages
Class JasmineEventDetails

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

public class JasmineEventDetails
extends Object
implements Serializable

Event details for a JasmineEvent.

See Also:
Serialized Form

Constructor Summary
JasmineEventDetails(String source, String probe, String value, Date timestamp, String sname)
          Constructor: saves the values.
 
Method Summary
 String getProbe()
           
 String getSname()
           
 String getSource()
           
 Date getTimestamp()
           
 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(String source,
                           String probe,
                           String value,
                           Date timestamp,
                           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 String getSource()
Returns:
Event source (for example, MBeanCmd or JMX).

getProbe

public String getProbe()
Returns:
Probe type.

getValue

public String getValue()
Returns:
Probed value.

getTimestamp

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

getSname

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


Copyright © 2012 OW2 Consortium. All Rights Reserved.