edu.emory.mathcs.h2o.event
Class PlugletLogEvent

java.lang.Object
  extended byedu.emory.mathcs.h2o.event.Event
      extended byedu.emory.mathcs.h2o.event.PlugletEvent
          extended byedu.emory.mathcs.h2o.event.PlugletLogEvent
All Implemented Interfaces:
java.io.Serializable

public class PlugletLogEvent
extends PlugletEvent

Event triggered when a pluglet fires a log event, or if the pluglet fails by throwing an exception from init(), start(), stop(), or destroy()

See Also:
Serialized Form

Nested Class Summary
static class PlugletLogEvent.Level
           
 
Field Summary
 
Fields inherited from class edu.emory.mathcs.h2o.event.Event
source, timestamp
 
Constructor Summary
PlugletLogEvent(PlugletContext pcxt, long timestamp, java.lang.String message, java.lang.Throwable failure, PlugletLogEvent.Level level)
           
 
Method Summary
 java.lang.Throwable getFailure()
           
 PlugletLogEvent.Level getLevel()
           
 java.lang.String getMessage()
           
 
Methods inherited from class edu.emory.mathcs.h2o.event.PlugletEvent
getPlugletContext
 
Methods inherited from class edu.emory.mathcs.h2o.event.Event
getSource, getTimestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlugletLogEvent

public PlugletLogEvent(PlugletContext pcxt,
                       long timestamp,
                       java.lang.String message,
                       java.lang.Throwable failure,
                       PlugletLogEvent.Level level)
Method Detail

getMessage

public java.lang.String getMessage()

getFailure

public java.lang.Throwable getFailure()

getLevel

public PlugletLogEvent.Level getLevel()