Class UpstreamPromotionCondition
java.lang.Object
hudson.plugins.promoted_builds.PromotionCondition
hudson.plugins.promoted_builds.conditions.UpstreamPromotionCondition
- All Implemented Interfaces:
ExtensionPoint,Describable<PromotionCondition>
PromotionCondition that tests if 1 or more upstream promotions have
occurred.- Author:
- Peter Hayes
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionisMet(PromotionProcess promotionProcess, AbstractBuild<?, ?> build) Checks if the promotion criteria is met.Methods inherited from class hudson.plugins.promoted_builds.PromotionCondition
all, getApplicableTriggers, getDescriptor, isMet
-
Constructor Details
-
UpstreamPromotionCondition
-
-
Method Details
-
getRequiredPromotionNames
-
getRequiredPromotionNamesAsSet
-
isMet
Description copied from class:PromotionConditionChecks if the promotion criteria is met.- Overrides:
isMetin classPromotionCondition- Parameters:
promotionProcess- The promotion process being evaluated for qualificationbuild- The build for which the promotion is considered.- Returns:
- non-null if the promotion condition is met. This object is then recorded so that we know how a build was promoted. Null if otherwise, meaning it shouldn't be promoted.
-