Class LegacyBuildstepCondition

  • All Implemented Interfaces:
    ExtensionPoint, Describable<org.jenkins_ci.plugins.run_condition.RunCondition>

    @Deprecated
    public class LegacyBuildstepCondition
    extends org.jenkins_ci.plugins.run_condition.RunCondition
    Deprecated.
    keep to retain backward compatibility
    Legacy condition to ease migration from old condition to new condition mecano implemented by the run-condition-plugin
    Author:
    domi
    • Constructor Detail

      • LegacyBuildstepCondition

        @DataBoundConstructor
        public LegacyBuildstepCondition​(String condition,
                                        boolean invert)
        Deprecated.
    • Method Detail

      • getCondition

        public String getCondition()
        Deprecated.
      • isInvertCondition

        public boolean isInvertCondition()
        Deprecated.
      • runPerform

        public boolean runPerform​(AbstractBuild<?,​?> build,
                                  BuildListener listener)
                           throws Exception
        Deprecated.
        Specified by:
        runPerform in class org.jenkins_ci.plugins.run_condition.RunCondition
        Throws:
        Exception
      • runPrebuild

        public boolean runPrebuild​(AbstractBuild<?,​?> build,
                                   BuildListener listener)
                            throws Exception
        Deprecated.
        Specified by:
        runPrebuild in class org.jenkins_ci.plugins.run_condition.RunCondition
        Throws:
        Exception