Class PromotedBuildParameterDefinition.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<ParameterDefinition>
hudson.model.ParameterDefinition.ParameterDescriptor
hudson.plugins.promoted_builds.parameters.PromotedBuildParameterDefinition.DescriptorImpl
- Enclosing class:
- PromotedBuildParameterDefinition
@Extension
public static class PromotedBuildParameterDefinition.DescriptorImpl
extends ParameterDefinition.ParameterDescriptor
-
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 TypeMethodDescriptiondoAutoCompleteJobName
(Item project, String value) doCheckJobName
(Item project, String value) Checks the job name.doFillProcessItems
(Job defaultJob, String jobName) Fills in the available promotion processes.newInstance
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) Methods inherited from class hudson.model.ParameterDefinition.ParameterDescriptor
getValuePage
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, 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
-
getDisplayName
- Overrides:
getDisplayName
in classParameterDefinition.ParameterDescriptor
-
getHelpFile
- Overrides:
getHelpFile
in classDescriptor<ParameterDefinition>
-
newInstance
public ParameterDefinition newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
newInstance
in classDescriptor<ParameterDefinition>
- Throws:
Descriptor.FormException
-
doCheckJobName
Checks the job name. -
doAutoCompleteJobName
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public AutoCompletionCandidates doAutoCompleteJobName(@AncestorInPath @CheckForNull Item project, @QueryParameter String value) -
doFillProcessItems
public ListBoxModel doFillProcessItems(@AncestorInPath Job defaultJob, @QueryParameter("jobName") String jobName) Fills in the available promotion processes.
-