Package eu.cqse.teamscale.jenkins.upload
Class TeamscaleUploadBuilder.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<Publisher>
hudson.tasks.BuildStepDescriptor<Publisher>
eu.cqse.teamscale.jenkins.upload.TeamscaleUploadBuilder.DescriptorImpl
- Enclosing class:
TeamscaleUploadBuilder
@Symbol("teamscale")
@Extension
public static final class TeamscaleUploadBuilder.DescriptorImpl
extends BuildStepDescriptor<Publisher>
Description/Hint provided if user does not fill out the plugin fields correctly.
-
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
-
Method Summary
Modifier and TypeMethodDescriptiondoCheckCredentialsId
(Item item, String url, String value) doCheckIncludePattern
(String value) doCheckPartition
(String value) doCheckReportFormatId
(String value) doCheckTeamscaleProject
(String value) doCheckUploadMessage
(String value) doCheckUrl
(String value) doFillCredentialsIdItems
(Item project, String url, String credentialsId) Populates the dropdown for the credentials matching MATCHERboolean
isApplicable
(Class<? extends AbstractProject> aClass) Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
Methods 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, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
doCheckUrl
public FormValidation doCheckUrl(@QueryParameter String value) throws IOException, javax.servlet.ServletException - Throws:
IOException
javax.servlet.ServletException
-
doCheckTeamscaleProject
public FormValidation doCheckTeamscaleProject(@QueryParameter String value) throws IOException, javax.servlet.ServletException - Throws:
IOException
javax.servlet.ServletException
-
doCheckPartition
public FormValidation doCheckPartition(@QueryParameter String value) throws IOException, javax.servlet.ServletException - Throws:
IOException
javax.servlet.ServletException
-
doCheckUploadMessage
public FormValidation doCheckUploadMessage(@QueryParameter String value) throws IOException, javax.servlet.ServletException - Throws:
IOException
javax.servlet.ServletException
-
doCheckIncludePattern
public FormValidation doCheckIncludePattern(@QueryParameter String value) throws IOException, javax.servlet.ServletException - Throws:
IOException
javax.servlet.ServletException
-
doCheckReportFormatId
public FormValidation doCheckReportFormatId(@QueryParameter String value) throws IOException, javax.servlet.ServletException - Throws:
IOException
javax.servlet.ServletException
-
doFillCredentialsIdItems
public ListBoxModel doFillCredentialsIdItems(@AncestorInPath Item project, @QueryParameter String url, @QueryParameter String credentialsId) Populates the dropdown for the credentials matching MATCHER- Parameters:
project
- to look in.url
- jenkins server urlcredentialsId
- current populated id- Returns:
- list of credentials
-
doCheckCredentialsId
public FormValidation doCheckCredentialsId(@AncestorInPath Item item, @QueryParameter String url, @QueryParameter String value) -
isApplicable
- Specified by:
isApplicable
in classBuildStepDescriptor<Publisher>
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<Publisher>
-