@Extension @Symbol(value="pangolinGlobalConfig") public class GlobalConfig extends jenkins.model.GlobalConfiguration implements GlobalConfiguration
Constructor and Description |
---|
GlobalConfig()
Instantiates a new pangolin global config.
|
Modifier and Type | Method and Description |
---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
hudson.util.FormValidation |
doCheckPangolinUrl(hudson.model.AbstractProject<?,?> project,
String pangolinUrl)
Do check pangolin URL.
|
hudson.util.FormValidation |
doCheckTestRailPassword(hudson.model.AbstractProject<?,?> project,
String testRailPassword) |
hudson.util.FormValidation |
doCheckTestRailUrl(hudson.model.AbstractProject<?,?> project,
String testRailUrl)
Do check test rail URL.
|
hudson.util.FormValidation |
doCheckTestRailUser(hudson.model.AbstractProject<?,?> project,
String testRailUser)
Do check test rail user.
|
String |
getDisplayName() |
String |
getPangolinUrl()
Gets the pangolin url.
|
hudson.util.Secret |
getTestRailPassword() |
String |
getTestRailPasswordPlain()
Gets the test rail password.
|
String |
getTestRailUrl()
Gets the test rail url.
|
String |
getTestRailUserName()
Gets the test rail user name.
|
int |
getUploadTimeOut()
Gets the upload time out.
|
void |
setPangolinUrl(String pangolinUrl) |
void |
setTestRailPassword(hudson.util.Secret testRailPassword) |
void |
setTestRailUrl(String testRailUrl) |
void |
setTestRailUserName(String testRailUserName) |
void |
setUploadTimeOut(int uploadTimeOut) |
all, getDescriptor, getGlobalConfigPage
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, 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
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws hudson.model.Descriptor.FormException
configure
in class jenkins.model.GlobalConfiguration
hudson.model.Descriptor.FormException
public hudson.util.FormValidation doCheckPangolinUrl(@AncestorInPath hudson.model.AbstractProject<?,?> project, @QueryParameter String pangolinUrl) throws IOException, javax.servlet.ServletException
project
- the projectpangolinUrl
- the pangolin urlIOException
- Signals that an I/O exception has occurred.javax.servlet.ServletException
- the servlet exceptionpublic hudson.util.FormValidation doCheckTestRailUrl(@AncestorInPath hudson.model.AbstractProject<?,?> project, @QueryParameter String testRailUrl) throws IOException, javax.servlet.ServletException
project
- the projecttestRailUrl
- the test rail urlIOException
- Signals that an I/O exception has occurred.javax.servlet.ServletException
- the servlet exceptionpublic hudson.util.FormValidation doCheckTestRailUser(@AncestorInPath hudson.model.AbstractProject<?,?> project, @QueryParameter String testRailUser) throws IOException, javax.servlet.ServletException
project
- the projecttestRailUser
- the test rail userIOException
- Signals that an I/O exception has occurred.javax.servlet.ServletException
- the servlet exceptionpublic hudson.util.FormValidation doCheckTestRailPassword(@AncestorInPath hudson.model.AbstractProject<?,?> project, @QueryParameter String testRailPassword) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
public String getDisplayName()
getDisplayName
in class hudson.model.Descriptor<jenkins.model.GlobalConfiguration>
public String getPangolinUrl()
getPangolinUrl
in interface GlobalConfiguration
public String getTestRailUrl()
getTestRailUrl
in interface GlobalConfiguration
public hudson.util.Secret getTestRailPassword()
public String getTestRailPasswordPlain()
getTestRailPasswordPlain
in interface GlobalConfiguration
public int getUploadTimeOut()
getUploadTimeOut
in interface GlobalConfiguration
public String getTestRailUserName()
getTestRailUserName
in interface GlobalConfiguration
@DataBoundSetter public void setPangolinUrl(String pangolinUrl)
@DataBoundSetter public void setTestRailUrl(String testRailUrl)
@DataBoundSetter public void setTestRailUserName(String testRailUserName)
@DataBoundSetter public void setTestRailPassword(hudson.util.Secret testRailPassword)
@DataBoundSetter public void setUploadTimeOut(int uploadTimeOut)
Copyright © 2018–2022 Agiletestware. All rights reserved.