Package hudson.maven
Class MavenModuleSet.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<TopLevelItem>
hudson.model.TopLevelItemDescriptor
hudson.model.AbstractProject.AbstractProjectDescriptor
hudson.maven.MavenModuleSet.DescriptorImpl
- Enclosing class:
- MavenModuleSet
public static final class MavenModuleSet.DescriptorImpl
extends AbstractProject.AbstractProjectDescriptor
implements IconSpec
-
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
configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject o) Needed if it wants Maven projects are categorized in Jenkins 2.x.Needed if it wants Maven projects are categorized in Jenkins 2.x.getHelpFile
(String fieldName) Needed if it wants Maven projects are categorized in Jenkins 2.x.boolean
isApplicable
(Descriptor descriptor) newInstance
(ItemGroup parent, String name) void
setGlobalMavenOpts
(String globalMavenOpts) void
setLocalRepository
(LocalRepositoryLocator localRepository) Methods inherited from class hudson.model.AbstractProject.AbstractProjectDescriptor
doAutoCompleteAssignedLabelString, doAutoCompleteLabel, doAutoCompleteUpstreamProjects, doCheckAssignedLabelString, doCheckCustomWorkspace, doCheckLabel, getApplicableSCMCheckoutStrategyDescriptors, validateLabelExpression
Methods inherited from class hudson.model.TopLevelItemDescriptor
all, checkApplicableIn, getIconFilePath, isApplicableIn, newInstance, newInstance, testInstance
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, 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
-
getHelpFile
- Overrides:
getHelpFile
in classDescriptor<TopLevelItem>
-
getSettingsProviders
-
getGlobalSettingsProviders
-
getGlobalMavenOpts
-
setGlobalMavenOpts
-
getLocalRepository
- Returns:
- never null.
-
setLocalRepository
-
getDisplayName
- Overrides:
getDisplayName
in classTopLevelItemDescriptor
-
getCategoryId
Needed if it wants Maven projects are categorized in Jenkins 2.x. TODO: Override when the baseline is upgraded to 2.x- Overrides:
getCategoryId
in classTopLevelItemDescriptor
- Returns:
- A string it represents a ItemCategory identifier.
-
getDescription
Needed if it wants Maven projects are categorized in Jenkins 2.x. TODO: Override when the baseline is upgraded to 2.x- Overrides:
getDescription
in classTopLevelItemDescriptor
- Returns:
- A string with the Item description.
-
getIconFilePathPattern
Needed if it wants Maven projects are categorized in Jenkins 2.x. TODO: Override when the baseline is upgraded to 2.x- Overrides:
getIconFilePathPattern
in classTopLevelItemDescriptor
- Returns:
- A string it represents a URL pattern to get the Item icon in different sizes.
-
getIconClassName
- Specified by:
getIconClassName
in interfaceIconSpec
- Overrides:
getIconClassName
in classTopLevelItemDescriptor
-
newInstance
- Specified by:
newInstance
in classTopLevelItemDescriptor
-
getMavenDescriptor
-
getMavenValidationLevels
- Returns:
- a Map of label/validation level
- Since:
- 1.394
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject o) - Overrides:
configure
in classDescriptor<TopLevelItem>
-
isApplicable
- Overrides:
isApplicable
in classAbstractProject.AbstractProjectDescriptor
-