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:
isApplicablein classBuildStepDescriptor<Publisher>
-
getDisplayName
public String getDisplayName()
This human readable name is used in the configuration screen.- Overrides:
getDisplayNamein classDescriptor<Publisher>
-
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:
IOExceptionjavax.servlet.ServletException
-
doCheckUrl
@POST public FormValidation doCheckUrl(@QueryParameter String value, @QueryParameter String selfSignedCertificateFingerprint, @AncestorInPath Item item) throws IOException, javax.servlet.ServletException
- Throws:
IOExceptionjavax.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)
-
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:
configurein classDescriptor<Publisher>- Throws:
Descriptor.FormException
-
newInstance
public Publisher newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException
- Overrides:
newInstancein classDescriptor<Publisher>- Throws:
Descriptor.FormException
-
-