Class ConditionsContext

java.lang.Object
hudson.plugins.promoted_builds.integrations.jobdsl.ConditionsContext
All Implemented Interfaces:
javaposse.jobdsl.dsl.Context

public class ConditionsContext extends Object implements javaposse.jobdsl.dsl.Context
  • Constructor Details

    • ConditionsContext

      public ConditionsContext(javaposse.jobdsl.plugin.DslEnvironment dslEnvironment)
  • Method Details

    • selfPromotion

      public void selfPromotion(@CheckForNull Boolean evenIfUnstable)
    • parameterizedSelfPromotion

      public void parameterizedSelfPromotion(@CheckForNull Boolean evenIfUnstable, String parameterName, String parameterValue)
    • manual

      public void manual(String users)
    • manual

      public void manual(String users, groovy.lang.Closure<?> parametersClosure)
    • releaseBuild

      public void releaseBuild()
    • parameters

      public void parameters(groovy.lang.Closure<?> parametersClosure)
    • downstream

      public void downstream(@CheckForNull Boolean evenIfUnstable, String jobs)
    • upstream

      public void upstream(String promotionNames)
    • getParams

      public Map<String,groovy.util.Node> getParams()
    • isSelfPromotion

      public boolean isSelfPromotion()
    • isEvenIfUnstable

      public boolean isEvenIfUnstable()
    • isParameterizedSelfPromotion

      public boolean isParameterizedSelfPromotion()
    • isEvenIfUnstableParameterized

      public boolean isEvenIfUnstableParameterized()
    • getParameterName

      public String getParameterName()
    • getParameterValue

      public String getParameterValue()
    • isManual

      public boolean isManual()
    • getUsers

      public String getUsers()
    • isReleaseBuild

      public boolean isReleaseBuild()
    • isDownstreamPass

      public boolean isDownstreamPass()
    • isEvenIfUnstableDownstream

      public boolean isEvenIfUnstableDownstream()
    • getJobs

      public String getJobs()
    • isUpstreamPromotion

      public boolean isUpstreamPromotion()
    • getPromotionNames

      public String getPromotionNames()