@Extension
@Symbol(value="influxDbQuery")
public final class DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
| Constructor and Description |
|---|
DescriptorImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
hudson.util.FormValidation |
doTestConnection(String influxURL,
String influxDB,
String influxUser,
hudson.util.Secret influxPWD) |
String |
getDisplayName() |
String |
getInfluxDB() |
hudson.util.Secret |
getInfluxPWD() |
String |
getInfluxURL() |
String |
getInfluxUser() |
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> aClass) |
void |
setInfluxDB(String influxDB) |
void |
setInfluxPWD(hudson.util.Secret influxPWD) |
void |
setInfluxURL(String influxURL) |
void |
setInfluxUser(String influxUser) |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, 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 boolean isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>public String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<hudson.tasks.Publisher>hudson.model.Descriptor.FormExceptionpublic String getInfluxDB()
public String getInfluxURL()
public String getInfluxUser()
public hudson.util.Secret getInfluxPWD()
public void setInfluxDB(String influxDB)
public void setInfluxURL(String influxURL)
public void setInfluxUser(String influxUser)
public void setInfluxPWD(hudson.util.Secret influxPWD)
@POST
public hudson.util.FormValidation doTestConnection(@QueryParameter(value="influxURL")
String influxURL,
@QueryParameter(value="influxDB")
String influxDB,
@QueryParameter(value="influxUser")
String influxUser,
@QueryParameter(value="influxPWD")
hudson.util.Secret influxPWD)
throws javax.servlet.ServletException,
IOException,
InterruptedException
javax.servlet.ServletExceptionIOExceptionInterruptedExceptionCopyright © 2016–2018. All rights reserved.