Package eu.cqse.teamscale.jenkins.upload
Class TeamscaleUploadBuilder.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- 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
Constructors Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckCredentialsId(Item item, String url, String value)
FormValidation
doCheckIncludePattern(String value)
FormValidation
doCheckPartition(String value)
FormValidation
doCheckReportFormatId(String value)
FormValidation
doCheckTeamscaleProject(String value)
FormValidation
doCheckUploadMessage(String value)
FormValidation
doCheckUrl(String value)
ListBoxModel
doFillCredentialsIdItems(Item project, String url, String credentialsId)
Populates the dropdown for the credentials matching MATCHERString
getDisplayName()
boolean
isApplicable(Class<? extends AbstractProject> aClass)
-
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
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
public boolean isApplicable(Class<? extends AbstractProject> aClass)
- Specified by:
isApplicable
in classBuildStepDescriptor<Publisher>
-
getDisplayName
@Nonnull public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<Publisher>
-
-