@Extension
public class BuildStatusConfig
extends jenkins.model.GlobalConfiguration
| Constructor and Description |
|---|
BuildStatusConfig()
Default constructor - loads the configuration
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
Invoked when the global configuration page is submitted
|
static BuildStatusConfig |
get()
Convenience method to get the configuration object
|
String |
getDisplayName()
Gets human readable name
|
boolean |
getEnableGithub() |
boolean |
getEnableInfluxDb() |
String |
getInfluxDbDatabase()
Get the value of influxDbDatabase
|
String |
getInfluxDbPassword()
Get the value of influxDbPassword
|
String |
getInfluxDbRetentionPolicy()
Get the value of influxDbRetentionPolicy
|
String |
getInfluxDbUrl()
Get the value of influxDbUrl
|
String |
getInfluxDbUser()
Get the value of influxDbUser
|
void |
setEnableGithub(boolean enableGithub) |
void |
setEnableInfluxDb(boolean enableInfluxDb) |
void |
setInfluxDbDatabase(String influxDbDatabase)
Set the value of influxDbDatabase
|
void |
setInfluxDbPassword(String influxDbPassword)
Set the value of influxDbPassword
|
void |
setInfluxDbRetentionPolicy(String influxDbRetentionPolicy)
Set the value of influxDbRetentionPolicy
|
void |
setInfluxDbUrl(String influxDbUrl)
Set the value of influxDbUrl
|
void |
setInfluxDbUser(String influxDbUser)
Set the value of influxDbUser
|
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 BuildStatusConfig()
public static BuildStatusConfig 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 jenkins.model.GlobalConfigurationreq - Request that represents the form submissionjson - The JSON object that captures the configuration datahudson.model.Descriptor.FormExceptionpublic boolean getEnableGithub()
@DataBoundSetter public void setEnableGithub(boolean enableGithub)
public boolean getEnableInfluxDb()
@DataBoundSetter public void setEnableInfluxDb(boolean enableInfluxDb)
public String getInfluxDbUrl()
@DataBoundSetter public void setInfluxDbUrl(String influxDbUrl)
influxDbUrl - new value of influxDbUrlpublic String getInfluxDbPassword()
@DataBoundSetter public void setInfluxDbPassword(String influxDbPassword)
influxDbPassword - new value of influxDbPasswordpublic String getInfluxDbDatabase()
@DataBoundSetter public void setInfluxDbDatabase(String influxDbDatabase)
influxDbDatabase - new value of influxDbDatabasepublic String getInfluxDbUser()
@DataBoundSetter public void setInfluxDbUser(String influxDbUser)
influxDbUser - new value of influxDbUserpublic String getInfluxDbRetentionPolicy()
@DataBoundSetter public void setInfluxDbRetentionPolicy(String influxDbRetentionPolicy)
influxDbRetentionPolicy - new value of influxDbRetentionPolicyCopyright © 2016–2018. All rights reserved.