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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanconfigure(org.kohsuke.stapler.StaplerRequest2 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.booleanisApplicable(Descriptor descriptor) newInstance(ItemGroup parent, String name) voidsetGlobalMavenOpts(String globalMavenOpts) voidsetLocalRepository(LocalRepositoryLocator localRepository) Methods inherited from class hudson.model.AbstractProject.AbstractProjectDescriptor
doAutoCompleteAssignedLabelString, doAutoCompleteLabel, doAutoCompleteUpstreamProjects, doCheckAssignedLabelString, doCheckCustomWorkspace, doCheckLabel, getApplicableSCMCheckoutStrategyDescriptors, validateLabelExpressionMethods inherited from class hudson.model.TopLevelItemDescriptor
all, checkApplicableIn, doCheckDisplayNameOrNull, getIconFilePath, isApplicableIn, newInstance, newInstance, testInstanceMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, 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, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getHelpFile
- Overrides:
getHelpFilein classDescriptor<TopLevelItem>
-
getSettingsProviders
-
getGlobalSettingsProviders
-
getGlobalMavenOpts
-
setGlobalMavenOpts
-
getLocalRepository
- Returns:
- never null.
-
setLocalRepository
-
getDisplayName
- Overrides:
getDisplayNamein 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:
getCategoryIdin 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:
getDescriptionin 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:
getIconFilePathPatternin classTopLevelItemDescriptor- Returns:
- A string it represents a URL pattern to get the Item icon in different sizes.
-
getIconClassName
- Specified by:
getIconClassNamein interfaceIconSpec- Overrides:
getIconClassNamein classTopLevelItemDescriptor
-
newInstance
- Specified by:
newInstancein classTopLevelItemDescriptor
-
getMavenDescriptor
-
getMavenValidationLevels
- Returns:
- a Map of label/validation level
- Since:
- 1.394
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject o) - Overrides:
configurein classDescriptor<TopLevelItem>
-
isApplicable
- Overrides:
isApplicablein classAbstractProject.AbstractProjectDescriptor
-