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 TypeMethodDescriptionvoidDeletes 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).booleanisApplicable(Class<? extends AbstractProject> jobType) booleanDeprecated.Global configuration has migrated toSonarGlobalConfigurationMethods inherited from class hudson.tasks.BuildStepDescriptor
filterMethods 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:
getDisplayNamein classDescriptor<Publisher>
-
getDeprecatedInstallations
Deprecated.Global configuration has migrated toSonarGlobalConfiguration- Returns:
- all configured
SonarInstallation
-
isDeprecatedBuildWrapperEnabled
Deprecated.Global configuration has migrated toSonarGlobalConfiguration -
getInstallations
-
getHelpFile
- Overrides:
getHelpFilein classDescriptor<Publisher>
-
getHelpFile
- Overrides:
getHelpFilein 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:
isApplicablein classBuildStepDescriptor<Publisher>
-
SonarGlobalConfiguration