public class ReleaseTestEvent extends AbstractReleaseEvent
AbstractReleaseEvent
describing the result of running a
test on a Helm
release.ReleaseTestListener
,
TestReleaseMojo
,
Serialized Formsource
Constructor and Description |
---|
ReleaseTestEvent(TestReleaseMojo source,
Tiller.TestReleaseResponseOrBuilder testReleaseResponseOrBuilder)
Creates a new
ReleaseTestEvent . |
Modifier and Type | Method and Description |
---|---|
TestReleaseMojo |
getSource()
Returns the
TestReleaseMojo responsible for firing this
event. |
Tiller.TestReleaseResponseOrBuilder |
getTestReleaseResponseOrBuilder()
Returns the
Tiller.TestReleaseResponseOrBuilder
implementation representing the test run. |
getLog
toString
public ReleaseTestEvent(TestReleaseMojo source, Tiller.TestReleaseResponseOrBuilder testReleaseResponseOrBuilder)
ReleaseTestEvent
.source
- the TestReleaseMojo
responsible for running
the tests; must not be null
testReleaseResponseOrBuilder
- the Tiller.TestReleaseResponseOrBuilder
describing the test run; must not be null
IllegalArgumentException
- if source
is null
; thrown by the EventObject.EventObject(Object)
constructorNullPointerException
- if testReleaseResponseOrBuilder
is null
public final Tiller.TestReleaseResponseOrBuilder getTestReleaseResponseOrBuilder()
Tiller.TestReleaseResponseOrBuilder
implementation representing the test run.
This method never returns null
.
Tiller.TestReleaseResponseOrBuilder
implementation representing the test run; never null
public final TestReleaseMojo getSource()
TestReleaseMojo
responsible for firing this
event.
This method never returns null
.
getSource
in class AbstractReleaseEvent
TestReleaseMojo
responsible for firing this
event; never null
Copyright © 2017–2018, microBean. All rights reserved.