hudson.plugins.sonar
Class SonarPublisher.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
hudson.plugins.sonar.SonarPublisher.DescriptorImpl
- All Implemented Interfaces:
- hudson.model.Saveable
- Enclosing class:
- SonarPublisher
@Extension(ordinal=1000.0)
public static final class SonarPublisher.DescriptorImpl
- extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
| Nested classes/interfaces inherited from class hudson.model.Descriptor |
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType |
| Fields inherited from class hudson.model.Descriptor |
clazz |
| Fields inherited from interface hudson.model.Saveable |
NOOP |
| Methods inherited from class hudson.tasks.BuildStepDescriptor |
filter |
| Methods inherited from class hudson.model.Descriptor |
configure, configure, convert, doHelp, find, find, getCheckUrl, getConfigPage, getGlobalConfigPage, getHelpFile, getJsonSafeClassName, getPropertyType, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, save, toArray, toList, toMap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SonarPublisher.DescriptorImpl
public SonarPublisher.DescriptorImpl()
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>
getHelpFile
public java.lang.String getHelpFile()
- Overrides:
getHelpFile in class hudson.model.Descriptor<hudson.tasks.Publisher>
getInstallations
public SonarInstallation[] getInstallations()
- Returns:
- all configured
SonarInstallation
setInstallations
public void setInstallations(SonarInstallation... installations)
getMavenInstallations
public hudson.tasks.Maven.MavenInstallation[] getMavenInstallations()
- This method is used in UI, so signature and location of this method is important (see SONARPLUGINS-1337).
- Returns:
- all configured
Maven.MavenInstallation
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
- Overrides:
configure in class hudson.model.Descriptor<hudson.tasks.Publisher>
doCheckMandatory
public hudson.util.FormValidation doCheckMandatory(@QueryParameter
java.lang.String value)
doCheckMandatoryAndNoSpaces
public hudson.util.FormValidation doCheckMandatoryAndNoSpaces(@QueryParameter
java.lang.String value)
isApplicable
public boolean isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> jobType)
- Specified by:
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
Copyright © 2007-2012. All Rights Reserved.