org.hudsonci.maven.eventspy_30
Class EventSpySupport
java.lang.Object
org.apache.maven.eventspy.AbstractEventSpy
org.hudsonci.maven.eventspy_30.EventSpySupport
- All Implemented Interfaces:
- org.apache.maven.eventspy.EventSpy
- Direct Known Subclasses:
- DelegatingEventSpy, LoggingEventSpy, RecordingEventSpy, RemotingEventSpy, TerminateJvmEventSpy
public class EventSpySupport
- extends org.apache.maven.eventspy.AbstractEventSpy
Support for EventSpy implementations.
- Since:
- 2.1.0
- Author:
- Jason Dillon
| Nested classes/interfaces inherited from interface org.apache.maven.eventspy.EventSpy |
org.apache.maven.eventspy.EventSpy.Context |
| Methods inherited from class org.apache.maven.eventspy.AbstractEventSpy |
onEvent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final Logger log
EventSpySupport
public EventSpySupport()
isOpen
protected boolean isOpen()
ensureOpened
protected void ensureOpened()
getContext
protected org.apache.maven.eventspy.EventSpy.Context getContext()
getContainer
protected org.codehaus.plexus.DefaultPlexusContainer getContainer()
getWorkingDirectory
protected File getWorkingDirectory()
getSystemProperties
protected Properties getSystemProperties()
getUserProperties
protected Properties getUserProperties()
getVersionProperties
protected Properties getVersionProperties()
getProperty
protected String getProperty(String name,
String defaultValue)
- Get a configuration property value.
getProperty
protected String getProperty(String name)
- Get a configuration property value.
init
public void init(org.apache.maven.eventspy.EventSpy.Context context)
throws Exception
- Specified by:
init in interface org.apache.maven.eventspy.EventSpy- Overrides:
init in class org.apache.maven.eventspy.AbstractEventSpy
- Throws:
Exception
close
public void close()
throws Exception
- Specified by:
close in interface org.apache.maven.eventspy.EventSpy- Overrides:
close in class org.apache.maven.eventspy.AbstractEventSpy
- Throws:
Exception
Copyright © 2004-2011 Hudson. All Rights Reserved.