Class CauseCondition

    • Constructor Detail

      • CauseCondition

        @DataBoundConstructor
        public CauseCondition​(String buildCause,
                              boolean exclusiveCause)
    • Method Detail

      • getBuildCause

        public org.jenkins_ci.plugins.run_condition.core.CauseCondition.BuildCause getBuildCause()
      • isExclusiveCause

        public boolean isExclusiveCause()
      • 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