org.apache.maven.monitor.event
Class AbstractSelectiveEventMonitor
java.lang.Object
org.apache.maven.monitor.event.AbstractSelectiveEventMonitor
- All Implemented Interfaces:
- EventMonitor
- Direct Known Subclasses:
- DefaultEventMonitor
public abstract class AbstractSelectiveEventMonitor
- extends Object
- implements EventMonitor
- Author:
- jdcasey
Method Summary |
protected void |
doEndEvent(String eventName,
String target,
long timestamp)
|
protected void |
doErrorEvent(String eventName,
String target,
long timestamp,
Throwable cause)
|
protected void |
doStartEvent(String eventName,
String target,
long timestamp)
|
void |
endEvent(String eventName,
String target,
long timestamp)
|
void |
errorEvent(String eventName,
String target,
long timestamp,
Throwable cause)
|
void |
startEvent(String eventName,
String target,
long timestamp)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSelectiveEventMonitor
protected AbstractSelectiveEventMonitor(String[] startEvents,
String[] endEvents,
String[] errorEvents)
startEvent
public final void startEvent(String eventName,
String target,
long timestamp)
- Specified by:
startEvent
in interface EventMonitor
doStartEvent
protected void doStartEvent(String eventName,
String target,
long timestamp)
endEvent
public final void endEvent(String eventName,
String target,
long timestamp)
- Specified by:
endEvent
in interface EventMonitor
doEndEvent
protected void doEndEvent(String eventName,
String target,
long timestamp)
errorEvent
public final void errorEvent(String eventName,
String target,
long timestamp,
Throwable cause)
- Specified by:
errorEvent
in interface EventMonitor
doErrorEvent
protected void doErrorEvent(String eventName,
String target,
long timestamp,
Throwable cause)
Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.