@Extension public class HALMGlobalConfig extends GlobalConfiguration
Descriptor.FormException, Descriptor.PropertyType, Descriptor.SelfExtensionPoint.LegacyInstancesAreScopedToHudsonclazz| Constructor and Description |
|---|
HALMGlobalConfig()
Constructor
|
HALMGlobalConfig(List<HALMConnection> connections)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
List<? extends Descriptor> |
descriptors() |
static HALMGlobalConfig |
get() |
HALMConnection |
getConnectionByNameOrID(String nameOrID)
This looks up a connection by either its name or ID.
|
List<HALMConnection> |
getConnections()
Returns the list of connections
|
void |
setConnections(List<HALMConnection> connections)
Sets the connections
|
all, getDescriptor, getGlobalConfigPageaddHelpFileRedirect, 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, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap@Inject public HALMGlobalConfig()
public HALMGlobalConfig(List<HALMConnection> connections)
connections - Connections to use to initialize internal connectionspublic boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
throws Descriptor.FormException
configure in class GlobalConfigurationDescriptor.FormExceptionpublic static HALMGlobalConfig get()
public List<HALMConnection> getConnections()
public void setConnections(List<HALMConnection> connections)
connections - List of connection to storepublic HALMConnection getConnectionByNameOrID(String nameOrID)
nameOrID - Name or ID to search forpublic List<? extends Descriptor> descriptors()
Copyright © 2016–2022. All rights reserved.