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
Constructors Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutoCompletionCandidates
doAutoCompleteJobName(Item project, String value)
FormValidation
doCheckJobName(Item project, String value)
Checks the job name.ListBoxModel
doFillProcessItems(Job defaultJob, String jobName)
Fills in the available promotion processes.String
getDisplayName()
String
getHelpFile()
ParameterDefinition
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
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classParameterDefinition.ParameterDescriptor
-
getHelpFile
public String 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
public FormValidation doCheckJobName(@AncestorInPath Item project, @QueryParameter String value)
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.
-
-