@Extension public class GlobalPluginConfiguration extends GlobalConfiguration
Descriptor.FormException, Descriptor.PropertyType, Descriptor.SelfExtensionPoint.LegacyInstancesAreScopedToHudsonclazz| Constructor and Description |
|---|
GlobalPluginConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
FormValidation |
doValidateClient(String server,
String namespace) |
static GlobalPluginConfiguration |
get() |
String |
getDisplayName() |
String |
getNamespace() |
String |
getServer() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled) |
void |
setNamespace(String namespace) |
void |
setServer(String server) |
all, getDescriptor, getGlobalConfigPageaddHelpFileRedirect, 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, toMappublic static GlobalPluginConfiguration get()
public String getDisplayName()
getDisplayName in class Descriptor<GlobalConfiguration>public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
throws Descriptor.FormException
configure in class GlobalConfigurationDescriptor.FormExceptionpublic boolean isEnabled()
public void setEnabled(boolean enabled)
public String getServer()
public void setServer(String server)
public String getNamespace()
public void setNamespace(String namespace)
public FormValidation doValidateClient(@QueryParameter String server, @QueryParameter String namespace)
Copyright © 2016–2019. All rights reserved.