org.jmonit.events
Class ExecutionEvent

java.lang.Object
  extended by org.jmonit.events.MonitoringEvent
      extended by org.jmonit.events.ExecutionEvent

public class ExecutionEvent
extends MonitoringEvent

Author:
Nicolas De Loof

Field Summary
static int CANCELED
           
static int STARTED
           
static int STOPPED
           
 
Constructor Summary
ExecutionEvent(Stopwatch source, int state)
           
 
Method Summary
 Stopwatch getExecution()
           
 int getState()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STARTED

public static final int STARTED
See Also:
Constant Field Values

STOPPED

public static final int STOPPED
See Also:
Constant Field Values

CANCELED

public static final int CANCELED
See Also:
Constant Field Values
Constructor Detail

ExecutionEvent

public ExecutionEvent(Stopwatch source,
                      int state)
Parameters:
source - the probe that emitted this event
state - the probe state
Method Detail

getState

public int getState()

getExecution

public Stopwatch getExecution()


Copyright © 2007 Nicolas De Loof. All Rights Reserved.