Class StatusCondition

    • Constructor Detail

      • StatusCondition

        @DataBoundConstructor
        public StatusCondition​(String worstResult,
                               String bestResult)
      • StatusCondition

        public StatusCondition​(Result worstResult,
                               Result bestResult)
    • Method Detail

      • getBestResult

        public Result getBestResult()
      • getWorstResult

        public Result getWorstResult()
      • runPerform

        public boolean runPerform​(AbstractBuild<?,​?> build,
                                  BuildListener listener)
        Description copied from class: RunCondition
        Decide whether to run the perform method in the BuildStep.
        Specified by:
        runPerform in class RunCondition
        Returns:
        true if the perform method of the BuildStep should run