hudson.plugins.sonar
Class SonarPublisher.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<T>
      extended by hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
          extended by 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 Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType
 
Field Summary
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
SonarPublisher.DescriptorImpl()
           
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)
           
 hudson.util.FormValidation doCheckMandatory(java.lang.String value)
           
 hudson.util.FormValidation doCheckMandatoryAndNoSpaces(java.lang.String value)
           
 java.lang.String getDisplayName()
           
 java.lang.String getHelpFile()
           
 SonarInstallation[] getInstallations()
           
 boolean isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> jobType)
           
 void setInstallations(SonarInstallation... installations)
           
 
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
 

Constructor Detail

SonarPublisher.DescriptorImpl

public SonarPublisher.DescriptorImpl()
Method Detail

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)

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-2011. All Rights Reserved.