@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.