Package hudson.plugins.sonar
Class SonarPublisher.DescriptorImpl
- Enclosing class:
- SonarPublisher
@Extension(ordinal=1000.0,
optional=true)
public static final class SonarPublisher.DescriptorImpl
extends BuildStepDescriptor<Publisher>
Optional because Maven plugin might not be available.
-
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 TypeMethodDescriptionvoid
Deletes all global configuration done through this component.Deprecated.getHelpFile
(String fieldName) This method is used in UI, so signature and location of this method is important (see SONARPLUGINS-1337).boolean
isApplicable
(Class<? extends AbstractProject> jobType) boolean
Deprecated.Global configuration has migrated toSonarGlobalConfiguration
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
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, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<Publisher>
-
getDeprecatedInstallations
Deprecated.Global configuration has migrated toSonarGlobalConfiguration
- Returns:
- all configured
SonarInstallation
-
isDeprecatedBuildWrapperEnabled
Deprecated.Global configuration has migrated toSonarGlobalConfiguration
-
getInstallations
-
getHelpFile
- Overrides:
getHelpFile
in classDescriptor<Publisher>
-
getHelpFile
- Overrides:
getHelpFile
in classDescriptor<Publisher>
-
deleteGlobalConfiguration
public void deleteGlobalConfiguration()Deletes all global configuration done through this component. To be done after migration toSonarGlobalConfiguration
. -
getMavenInstallations
This method is used in UI, so signature and location of this method is important (see SONARPLUGINS-1337).- Returns:
- all configured
Maven.MavenInstallation
-
isApplicable
- Specified by:
isApplicable
in classBuildStepDescriptor<Publisher>
-
SonarGlobalConfiguration