Package jenkins.plugins.instana
Class InstanaPluginGlobalConfig
java.lang.Object
hudson.model.Descriptor<GlobalConfiguration>
jenkins.model.GlobalConfiguration
jenkins.plugins.instana.InstanaPluginGlobalConfig
- All Implemented Interfaces:
ExtensionPoint
,Describable<GlobalConfiguration>
,Saveable
,OnMaster
@Extension public class InstanaPluginGlobalConfig extends GlobalConfiguration
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
-
Constructor Summary
Constructors Constructor Description InstanaPluginGlobalConfig()
-
Method Summary
Modifier and Type Method Description boolean
configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)
static InstanaPluginGlobalConfig
get()
protected XmlFile
getConfigFile()
HttpMode
getHttpMode()
String
getInstanaUrl()
Secret
getToken()
void
setHttpMode(HttpMode httpMode)
void
setInstanaUrl(String instanaUrl)
void
setToken(Secret token)
static FormValidation
validateKeyName(String value)
static void
xStreamCompatibility()
Methods inherited from class jenkins.model.GlobalConfiguration
all, getDescriptor, getGlobalConfigPage
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, 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
-
Constructor Details
-
InstanaPluginGlobalConfig
public InstanaPluginGlobalConfig()
-
-
Method Details
-
xStreamCompatibility
-
getConfigFile
- Overrides:
getConfigFile
in classDescriptor<GlobalConfiguration>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)- Overrides:
configure
in classGlobalConfiguration
-
validateKeyName
-
get
-
getInstanaUrl
-
setInstanaUrl
-
getToken
-
setToken
-
getHttpMode
-
setHttpMode
-