Package hudson.plugins.promoted_builds
Class PromotionConditionDescriptor
java.lang.Object
hudson.model.Descriptor<PromotionCondition>
hudson.plugins.promoted_builds.PromotionConditionDescriptor
- Direct Known Subclasses:
DownstreamPassCondition.DescriptorImpl
,GroovyConditionDescriptor
,ManualCondition.DescriptorImpl
,ParameterizedSelfPromotionCondition.DescriptorImpl
,SelfPromotionCondition.DescriptorImpl
,UpstreamPromotionCondition.DescriptorImpl
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
ModifierConstructorDescriptionprotected
protected
PromotionConditionDescriptor
(Class<? extends PromotionCondition> clazz) -
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
isApplicable
(AbstractProject<?, ?> item) Returns true if this condition is applicable to the given project.Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
PromotionConditionDescriptor
-
PromotionConditionDescriptor
protected PromotionConditionDescriptor()
-
-
Method Details
-
isApplicable
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.
-