public abstract class AbstractReleaseEvent extends EventObject
EventObject
describing a meaningful event in the life of
a Helm
release.EventObject
,
Serialized Formsource
Modifier | Constructor and Description |
---|---|
protected |
AbstractReleaseEvent(AbstractReleaseMojo source)
Creates a new
AbstractReleaseEvent . |
Modifier and Type | Method and Description |
---|---|
Log |
getLog()
Returns the
Log that may be used to log information. |
AbstractReleaseMojo |
getSource()
Overrides the
EventObject.getSource() method to cast its
return type to an AbstractReleaseMojo . |
toString
protected AbstractReleaseEvent(AbstractReleaseMojo source)
AbstractReleaseEvent
.source
- the AbstractReleaseMojo
responsible for
firing the event; must not be null
IllegalArgumentException
- if source
is null
; thrown by the EventObject.EventObject(Object)
constructorpublic final Log getLog()
Log
that may be used to log information.
This method may return null
.
Log
that may be used to log information, or
null
public AbstractReleaseMojo getSource()
EventObject.getSource()
method to cast its
return type to an AbstractReleaseMojo
.
This method never returns null
.
Overrides of this method must not return null
.
getSource
in class EventObject
AbstractReleaseMojo
implementation that fired
this event; never null
Copyright © 2017–2018, microBean. All rights reserved.