@Extension
public class InfluxDbGlobalConfig
extends jenkins.model.GlobalConfiguration
Constructor and Description |
---|
InfluxDbGlobalConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addTarget(Target target)
Add target to list of targets
|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
static InfluxDbGlobalConfig |
getInstance() |
List<Target> |
getTargets() |
void |
migrateTargets() |
void |
removeTarget(String targetDescription)
Remove target from list of targets
|
void |
setTargets(List<Target> targets) |
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 static InfluxDbGlobalConfig getInstance()
@Initializer(after=JOB_LOADED) public void migrateTargets()
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
configure
in class jenkins.model.GlobalConfiguration
public void addTarget(Target target)
target
- Target to addpublic void removeTarget(String targetDescription)
targetDescription
- Target description of target to remove.Copyright © 2016–2020. All rights reserved.