Package org.apache.maven.monitor.event
Class AbstractSelectiveEventMonitor
- java.lang.Object
-
- org.apache.maven.monitor.event.AbstractSelectiveEventMonitor
-
- All Implemented Interfaces:
EventMonitor
public abstract class AbstractSelectiveEventMonitor extends Object implements EventMonitor
- Author:
- jdcasey
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractSelectiveEventMonitor(String[] startEvents, String[] endEvents, String[] errorEvents)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoEndEvent(String eventName, String target, long timestamp)protected voiddoErrorEvent(String eventName, String target, long timestamp, Throwable cause)protected voiddoStartEvent(String eventName, String target, long timestamp)voidendEvent(String eventName, String target, long timestamp)voiderrorEvent(String eventName, String target, long timestamp, Throwable cause)voidstartEvent(String eventName, String target, long timestamp)
-
-
-
Method Detail
-
startEvent
public final void startEvent(String eventName, String target, long timestamp)
- Specified by:
startEventin interfaceEventMonitor
-
endEvent
public final void endEvent(String eventName, String target, long timestamp)
- Specified by:
endEventin interfaceEventMonitor
-
errorEvent
public final void errorEvent(String eventName, String target, long timestamp, Throwable cause)
- Specified by:
errorEventin interfaceEventMonitor
-
-