Class NullResultHandler

java.lang.Object
io.jenkins.plugins.util.NullResultHandler
All Implemented Interfaces:
ResultHandler

public class NullResultHandler extends Object implements ResultHandler
A ResultHandler that does nothing.
Author:
Ullrich Hafner
  • Constructor Details

    • NullResultHandler

      public NullResultHandler()
  • Method Details

    • publishResult

      public void publishResult(QualityGateStatus status, String message)
      Description copied from interface: ResultHandler
      Called to notify the build or stage about the result that is derived from a quality gate status.
      Specified by:
      publishResult in interface ResultHandler
      Parameters:
      status - the quality gate status
      message - a message that describes the cause for the result
    • publishResult

      public void publishResult(Result result, String message)
      Description copied from interface: ResultHandler
      Called to notify the build or stage about the new result.
      Specified by:
      publishResult in interface ResultHandler
      Parameters:
      result - the result
      message - a message that describes the cause for the result