@Extension
public class GlobalPluginConfiguration
extends jenkins.model.GlobalConfiguration
| Constructor and Description |
|---|
GlobalPluginConfiguration() |
GlobalPluginConfiguration(boolean enable,
String server,
String namespace,
String credentialsId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
static hudson.util.ListBoxModel |
doFillCredentialsIdItems(String credentialsId) |
static GlobalPluginConfiguration |
get() |
String |
getCredentialsId() |
String |
getDisplayName() |
String |
getNamespace() |
String |
getServer() |
boolean |
isEnabled() |
void |
setCredentialsId(String credentialsId) |
void |
setEnabled(boolean enabled) |
void |
setNamespace(String namespace) |
void |
setServer(String server) |
all, getCategory, getDescriptor, getGlobalConfigPageaddHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, 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@DataBoundConstructor
public GlobalPluginConfiguration(boolean enable,
String server,
String namespace,
String credentialsId)
public GlobalPluginConfiguration()
public static GlobalPluginConfiguration get()
public String getDisplayName()
getDisplayName in class hudson.model.Descriptor<jenkins.model.GlobalConfiguration>public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<jenkins.model.GlobalConfiguration>hudson.model.Descriptor.FormExceptionpublic boolean isEnabled()
public void setEnabled(boolean enabled)
public String getServer()
public void setServer(String server)
public String getCredentialsId()
public void setCredentialsId(String credentialsId)
public String getNamespace()
public void setNamespace(String namespace)
public static hudson.util.ListBoxModel doFillCredentialsIdItems(String credentialsId)
Copyright © 2016–2017 Red Hat. All rights reserved.