Class PromotionRebuildValidator

java.lang.Object
com.sonyericsson.rebuild.RebuildValidator
hudson.plugins.promoted_builds.PromotionRebuildValidator
All Implemented Interfaces:
ExtensionPoint, Serializable

@Extension(optional=true) @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class PromotionRebuildValidator extends com.sonyericsson.rebuild.RebuildValidator
Disables the rebuild button for Promotion objects since rebuilding is handled separately for them.
See Also:
  • Constructor Details

    • PromotionRebuildValidator

      public PromotionRebuildValidator()
  • Method Details

    • isApplicable

      public boolean isApplicable(Run build)
      Overrides:
      isApplicable in class com.sonyericsson.rebuild.RebuildValidator