Class ManualCondition.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<PromotionCondition>
hudson.plugins.promoted_builds.PromotionConditionDescriptor
hudson.plugins.promoted_builds.conditions.ManualCondition.DescriptorImpl
- Enclosing class:
- ManualCondition
@Extension
public static final class ManualCondition.DescriptorImpl
extends PromotionConditionDescriptor
-
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isApplicable
(AbstractProject<?, ?> item) Returns true if this condition is applicable to the given project.newInstance
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) 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, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
isApplicable
Description copied from class:PromotionConditionDescriptor
Returns true if this condition is applicable to the given project.- Specified by:
isApplicable
in classPromotionConditionDescriptor
- Returns:
- true to allow user to configure this promotion condition for the given project.
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<PromotionCondition>
-
newInstance
public ManualCondition newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
newInstance
in classDescriptor<PromotionCondition>
- Throws:
Descriptor.FormException
-