Class InheritableStringParameterDefinition.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<ParameterDefinition>
-
- hudson.model.ParameterDefinition.ParameterDescriptor
-
- hudson.model.StringParameterDefinition.DescriptorImpl
-
- hudson.plugins.project_inheritance.projects.parameters.InheritableStringParameterDefinition.DescriptorImpl
-
- Direct Known Subclasses:
InheritableStringParameterReferenceDefinition.DescriptorImpl
- Enclosing class:
- InheritableStringParameterDefinition
@Extension public static class InheritableStringParameterDefinition.DescriptorImpl extends StringParameterDefinition.DescriptorImpl
-
-
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 FormValidationdoCheckDefaultValue(String name)FormValidationdoCheckName(String name, InheritanceProject project)ListBoxModeldoFillInheritanceModeItems()ListBoxModeldoFillWhitespaceModeItems()StringgetDisplayName()StringgetHelpFile()protected Set<InheritanceProject>getReferencedProjects(InheritanceProject root)Determines the set of projects referenced from the given project (including the current project).-
Methods inherited from class hudson.model.ParameterDefinition.ParameterDescriptor
getValuePage
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, 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, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayNamein classStringParameterDefinition.DescriptorImpl
-
getHelpFile
public String getHelpFile()
- Overrides:
getHelpFilein classStringParameterDefinition.DescriptorImpl
-
doCheckName
public FormValidation doCheckName(@QueryParameter String name, @AncestorInPath InheritanceProject project)
-
doCheckDefaultValue
public FormValidation doCheckDefaultValue(@QueryParameter String name)
-
doFillInheritanceModeItems
public ListBoxModel doFillInheritanceModeItems()
-
doFillWhitespaceModeItems
public ListBoxModel doFillWhitespaceModeItems()
-
getReferencedProjects
protected Set<InheritanceProject> getReferencedProjects(InheritanceProject root)
Determines the set of projects referenced from the given project (including the current project).The default implementation returns all references:
- Via inheritance from the local job (TODO: the user might've changed inheritance on the current config page!)
- via the 'compatible' projects used for automatic job creation
- Parameters:
root- the project to begin from- Returns:
- a set, may be empty, but never null. If root != null will contain at least root.
-
-