Interface ResultHandler

All Known Implementing Classes:
NullResultHandler, PipelineResultHandler, RunResultHandler

public interface ResultHandler
Handles the setting of the build or stage result.
Author:
Ullrich Hafner
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    publishResult(Result result, String message)
    Called to notify the build or stage about the new result.
    void
    Called to notify the build or stage about the result that is derived from a quality gate status.
  • Method Details

    • publishResult

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

      void publishResult(Result result, String message)
      Called to notify the build or stage about the new result.
      Parameters:
      result - the result
      message - a message that describes the cause for the result