public class ReleaseDiscoveryEvent extends AbstractReleaseEvent
AbstractReleaseEvent
describing a discovery of a Helm release
performed by a ListReleasesMojo
instance.ReleaseDiscoveryListener
,
ListReleasesMojo
,
Serialized Formsource
Constructor and Description |
---|
ReleaseDiscoveryEvent(ListReleasesMojo source,
Tiller.ListReleasesResponseOrBuilder listReleasesResponseOrBuilder)
Creates a new
ReleaseDiscoveryEvent . |
Modifier and Type | Method and Description |
---|---|
Tiller.ListReleasesResponseOrBuilder |
getListReleasesResponseOrBuilder()
Returns the
Tiller.ListReleasesResponseOrBuilder
implementation representing the release retrieval. |
ListReleasesMojo |
getSource()
Returns the
ListReleasesMojo responsible for firing this
event. |
getLog
toString
public ReleaseDiscoveryEvent(ListReleasesMojo source, Tiller.ListReleasesResponseOrBuilder listReleasesResponseOrBuilder)
ReleaseDiscoveryEvent
.source
- the ListReleasesMojo
responsible for
retrieving the release; must not be null
listReleasesResponseOrBuilder
- the Tiller.ListReleasesResponseOrBuilder
describing the release retrieval; must not be null
IllegalArgumentException
- if source
is null
; thrown by the EventObject.EventObject(Object)
constructorNullPointerException
- if listReleasesResponseOrBuilder
is null
public final Tiller.ListReleasesResponseOrBuilder getListReleasesResponseOrBuilder()
Tiller.ListReleasesResponseOrBuilder
implementation representing the release retrieval.
This method never returns null
.
Tiller.ListReleasesResponseOrBuilder
implementation representing the release retrieval; never null
public final ListReleasesMojo getSource()
ListReleasesMojo
responsible for firing this
event.
This method never returns null
.
getSource
in class AbstractReleaseEvent
ListReleasesMojo
responsible for firing this
event; never null
Copyright © 2017–2018, microBean. All rights reserved.