|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.promoted_builds.PromotionCondition
public abstract class PromotionCondition
Extension point for defining a promotion criteria.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Constructor Summary | |
|---|---|
PromotionCondition()
|
|
| Method Summary | |
|---|---|
static hudson.DescriptorExtensionList<PromotionCondition,PromotionConditionDescriptor> |
all()
Returns all the registered PromotionConditionDescriptors. |
static java.util.List<PromotionConditionDescriptor> |
getApplicableTriggers(hudson.model.AbstractProject<?,?> p)
Returns a subset of PromotionConditionDescriptors that applys to the given project. |
PromotionConditionDescriptor |
getDescriptor()
|
PromotionBadge |
isMet(hudson.model.AbstractBuild<?,?> build)
Deprecated. |
PromotionBadge |
isMet(PromotionProcess promotionProcess,
hudson.model.AbstractBuild<?,?> build)
Checks if the promotion criteria is met. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PromotionCondition()
| Method Detail |
|---|
public PromotionBadge isMet(hudson.model.AbstractBuild<?,?> build)
build - The build for which the promotion is considered.
public PromotionBadge isMet(PromotionProcess promotionProcess,
hudson.model.AbstractBuild<?,?> build)
promotionProcess - The promotion process being evaluated for qualificationbuild - The build for which the promotion is considered.
public PromotionConditionDescriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<PromotionCondition>public static hudson.DescriptorExtensionList<PromotionCondition,PromotionConditionDescriptor> all()
PromotionConditionDescriptors.
public static java.util.List<PromotionConditionDescriptor> getApplicableTriggers(hudson.model.AbstractProject<?,?> p)
PromotionConditionDescriptors that applys to the given project.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||