Package io.jenkins.plugins.util
Class NullResultHandler
java.lang.Object
io.jenkins.plugins.util.NullResultHandler
- All Implemented Interfaces:
ResultHandler
A
ResultHandler that does nothing.- Author:
- Ullrich Hafner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpublishResult(Result result, String message) Called to notify the build or stage about the new result.voidpublishResult(QualityGateStatus status, String message) Called to notify the build or stage about the result that is derived from a quality gate status.
-
Constructor Details
-
NullResultHandler
public NullResultHandler()
-
-
Method Details
-
publishResult
Description copied from interface:ResultHandlerCalled to notify the build or stage about the result that is derived from a quality gate status.- Specified by:
publishResultin interfaceResultHandler- Parameters:
status- the quality gate statusmessage- a message that describes the cause for the result
-
publishResult
Description copied from interface:ResultHandlerCalled to notify the build or stage about the new result.- Specified by:
publishResultin interfaceResultHandler- Parameters:
result- the resultmessage- a message that describes the cause for the result
-