Class PromotionConditionDescriptor

java.lang.Object
hudson.model.Descriptor<PromotionCondition>
hudson.plugins.promoted_builds.PromotionConditionDescriptor
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Direct Known Subclasses:
DownstreamPassCondition.DescriptorImpl, GroovyConditionDescriptor, ManualCondition.DescriptorImpl, ParameterizedSelfPromotionCondition.DescriptorImpl, SelfPromotionCondition.DescriptorImpl, UpstreamPromotionCondition.DescriptorImpl

public abstract class PromotionConditionDescriptor extends Descriptor<PromotionCondition>
Author:
Kohsuke Kawaguchi
See Also:
  • Constructor Details

    • PromotionConditionDescriptor

      protected PromotionConditionDescriptor(Class<? extends PromotionCondition> clazz)
    • PromotionConditionDescriptor

      protected PromotionConditionDescriptor()
  • Method Details

    • isApplicable

      public abstract boolean isApplicable(AbstractProject<?,?> item)
      Returns true if this condition is applicable to the given project.
      Returns:
      true to allow user to configure this promotion condition for the given project.