@Extension
public class ServerConfiguration
extends jenkins.model.GlobalConfiguration
Constructor and Description |
---|
ServerConfiguration() |
Modifier and Type | Method and Description |
---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
hudson.util.FormValidation |
doCheckCredentialId(hudson.model.Item item,
String value) |
hudson.util.FormValidation |
doCheckServerAddress(hudson.model.Item item,
String hosting,
String serverAddress) |
hudson.util.ListBoxModel |
doFillCredentialIdItems(hudson.model.Item item,
String credentialId) |
hudson.util.FormValidation |
doTestConnection(hudson.model.Item item,
String hosting,
String serverAddress,
String credentialId) |
static ServerConfiguration |
get() |
String |
getCloudHostingTypeName() |
String |
getServerHostingTypeName() |
List<XrayInstance> |
getServerInstances() |
void |
setServerInstances(List<XrayInstance> serverInstances) |
all, getDescriptor, getGlobalConfigPage
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, 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 formData) throws hudson.model.Descriptor.FormException
configure
in class jenkins.model.GlobalConfiguration
hudson.model.Descriptor.FormException
public void setServerInstances(List<XrayInstance> serverInstances)
public List<XrayInstance> getServerInstances()
public String getCloudHostingTypeName()
public String getServerHostingTypeName()
public static ServerConfiguration get()
public hudson.util.ListBoxModel doFillCredentialIdItems(@AncestorInPath hudson.model.Item item, @QueryParameter String credentialId)
public hudson.util.FormValidation doCheckCredentialId(@AncestorInPath hudson.model.Item item, @QueryParameter String value)
public hudson.util.FormValidation doCheckServerAddress(@AncestorInPath hudson.model.Item item, @QueryParameter(value="hosting") String hosting, @QueryParameter(value="serverAddress") String serverAddress)
Copyright © 2016–2022. All rights reserved.