@Extension public static final class KlarosTestResultPublisher.DescriptorImpl extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> implements Serializable
Constructor and Description |
---|
DescriptorImpl()
Instantiates a new descriptor implementation.
|
Modifier and Type | Method and Description |
---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
hudson.util.FormValidation |
doCheck(hudson.model.AbstractProject<?,?> project,
String value)
Performs on-the-fly validation on the file mask wildcard.
|
hudson.util.FormValidation |
doCheckInstallation(String value)
Performs on-the-fly validation on the server installation.
|
hudson.util.FormValidation |
doCheckUrl(String value)
Performs on-the-fly validation on a Klaros application URL.
|
hudson.util.FormValidation |
doTestConnection(String url,
String username,
String password)
Test the connection with the given parameters.
|
String |
getDisplayName()
This human readable name is used in the configuration screen.
|
String |
getHelpFile() |
List<String> |
getUrls()
Gets the urls.
|
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> jobType) |
void |
setUrls(List<String> setUrls)
Sets the URLs.
|
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public DescriptorImpl()
public String getDisplayName()
getDisplayName
in class hudson.model.Descriptor<hudson.tasks.Publisher>
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws hudson.model.Descriptor.FormException
configure
in class hudson.model.Descriptor<hudson.tasks.Publisher>
hudson.model.Descriptor.FormException
public boolean isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
isApplicable
in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
public String getHelpFile()
getHelpFile
in class hudson.model.Descriptor<hudson.tasks.Publisher>
public hudson.util.FormValidation doCheckUrl(String value) throws IOException, javax.servlet.ServletException
value
- the url value to checkIOException
- Signals that an I/O exception has occurred.javax.servlet.ServletException
- the servlet exceptionpublic hudson.util.FormValidation doCheck(@AncestorInPath hudson.model.AbstractProject<?,?> project, @QueryParameter String value) throws IOException, javax.servlet.ServletException
project
- the current projectvalue
- the mask value to checkIOException
- Signals that an I/O exception has occurred.javax.servlet.ServletException
- the servlet exceptionpublic hudson.util.FormValidation doCheckInstallation(@QueryParameter String value) throws IOException, javax.servlet.ServletException
value
- the mask value to checkIOException
- Signals that an I/O exception has occurred.javax.servlet.ServletException
- the servlet exceptionpublic hudson.util.FormValidation doTestConnection(@QueryParameter String url, @QueryParameter String username, @QueryParameter String password) throws IOException, javax.servlet.ServletException
url
- the urlusername
- the usernamepassword
- the passwordIOException
- Signals that an I/O exception has occurred.javax.servlet.ServletException
- the servlet exceptionCopyright © 2009–2019 verit Informationssysteme GmbH. All rights reserved.