org.ow2.jasmine.event.beans
Class JasmineEventEB

java.lang.Object
  extended by org.ow2.jasmine.event.beans.JasmineEventEB
All Implemented Interfaces:
Serializable

public class JasmineEventEB
extends Object
implements Serializable

Mirror of the entity bean for a JASMINe Event. This version is not a bean.

See Also:
Serialized Form

Constructor Summary
JasmineEventEB(String domain, String server, String source, String probe, Serializable value, Date timestamp, String sname)
          Saves all information.
 
Method Summary
 String getDomain()
           
 String getMBean()
           
 String getProbe()
           
 String getServer()
           
 String getSname()
           
 String getSource()
           
 Date getTimestamp()
           
 Serializable getValue()
           
 String toCSV()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JasmineEventEB

public JasmineEventEB(String domain,
                      String server,
                      String source,
                      String probe,
                      Serializable value,
                      Date timestamp,
                      String sname)
Saves all information.

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

getDomain

public String getDomain()
Returns:
Domain of the probed server.

getServer

public String getServer()
Returns:
Name of the probed server.

getSource

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

getProbe

public String getProbe()
Returns:
Probe type.

getMBean

public String getMBean()
Returns:
the mbean

getValue

public Serializable 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.

toString

public String toString()
Overrides:
toString in class Object

toCSV

public String toCSV()
Returns:
the CSV format


Copyright © 2012 OW2 Consortium. All Rights Reserved.