Package hudson.plugins.promoted_builds
Class PromotionTrigger.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<Trigger<?>>
hudson.triggers.TriggerDescriptor
hudson.plugins.promoted_builds.PromotionTrigger.DescriptorImpl
- Enclosing class:
- PromotionTrigger
-
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
(String value) doCheckJobName
(Item project, String value) Checks the job name.doFillProcessItems
(Item defaultJob, String jobName) Fills in the available promotion processes.boolean
isApplicable
(Item item) 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, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
isApplicable
- Specified by:
isApplicable
in classTriggerDescriptor
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<Trigger<?>>
-
doCheckJobName
Checks the job name.- Parameters:
project
- Current projectvalue
- Value to be validated- Returns:
- Validation result
-
doAutoCompleteJobName
-
doFillProcessItems
public ListBoxModel doFillProcessItems(@AncestorInPath Item defaultJob, @QueryParameter("jobName") String jobName) Fills in the available promotion processes.- Parameters:
defaultJob
- Base jobjobName
- Current name of the job specified in the form- Returns:
- List of possible project names. May be empty
-