Package org.jenkinsci.plugins.codedx
Class CodeDxPublisher.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Publisher>
-
- org.jenkinsci.plugins.codedx.CodeDxPublisher.DescriptorImpl
-
- Enclosing class:
- CodeDxPublisher
@Extension public static final class CodeDxPublisher.DescriptorImpl extends BuildStepDescriptor<Publisher>
Descriptor forCodeDxPublisher
. Used as a singleton. The class is marked as public so that it can be accessed from views.
-
-
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 Constructor Description DescriptorImpl()
In order to load the persisted global configuration, you have to call load() in the constructor.
-
Method Summary
-
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> aClass)
- Specified by:
isApplicable
in classBuildStepDescriptor<Publisher>
-
getDisplayName
public String getDisplayName()
This human readable name is used in the configuration screen.- Overrides:
getDisplayName
in classDescriptor<Publisher>
-
doCheckProjectId
public FormValidation doCheckProjectId(@QueryParameter String url, @QueryParameter String selfSignedCertificateFingerprint, @QueryParameter String keyCredentialId, @QueryParameter String value, @AncestorInPath Item item) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
doFillKeyCredentialIdItems
public ListBoxModel doFillKeyCredentialIdItems(@QueryParameter String url, @QueryParameter String keyCredentialId, @AncestorInPath Item item)
-
doCheckKeyCredentialId
public FormValidation doCheckKeyCredentialId(@QueryParameter String url, @QueryParameter String keyCredentialId, @AncestorInPath Item item) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
doCheckUrl
@POST public FormValidation doCheckUrl(@QueryParameter String value, @QueryParameter String selfSignedCertificateFingerprint, @AncestorInPath Item item) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
doCheckSelfSignedCertificateFingerprint
@POST public FormValidation doCheckSelfSignedCertificateFingerprint(@QueryParameter String value, @QueryParameter String url, @AncestorInPath Item item)
-
doCheckSourceAndBinaryFiles
@POST public FormValidation doCheckSourceAndBinaryFiles(@QueryParameter String value, @QueryParameter boolean gitFetchConfiguration, @QueryParameter String toolOutputFiles, @AncestorInPath AbstractProject project)
-
doCheckExcludedSourceAndBinaryFiles
@POST public FormValidation doCheckExcludedSourceAndBinaryFiles(@QueryParameter String value, @AncestorInPath AbstractProject project)
-
doCheckToolOutputFiles
@POST public FormValidation doCheckToolOutputFiles(@QueryParameter String value, @QueryParameter String sourceAndBinaryFiles, @QueryParameter boolean gitFetchConfiguration, @AncestorInPath AbstractProject project)
-
doFillProjectIdItems
@POST public ListBoxModel doFillProjectIdItems(@QueryParameter String url, @QueryParameter String selfSignedCertificateFingerprint, @QueryParameter String keyCredentialId, @AncestorInPath Item item)
-
doFillErrorHandlingBehaviorItems
public ListBoxModel doFillErrorHandlingBehaviorItems()
-
doFillPolicyBreakBuildBehaviorItems
public ListBoxModel doFillPolicyBreakBuildBehaviorItems()
-
doFillFailureSeverityItems
public ListBoxModel doFillFailureSeverityItems()
-
doFillUnstableSeverityItems
public ListBoxModel doFillUnstableSeverityItems()
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException
- Overrides:
configure
in classDescriptor<Publisher>
- Throws:
Descriptor.FormException
-
newInstance
public Publisher newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException
- Overrides:
newInstance
in classDescriptor<Publisher>
- Throws:
Descriptor.FormException
-
-