@Extension
@Symbol(value="influxDbQuery")
public final class DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
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 |
doCheckCheckName(String checkName,
hudson.model.Item item) |
hudson.util.FormValidation |
doCheckExpectedThreshold(String expectedThreshold,
hudson.model.Item item) |
hudson.util.FormValidation |
doCheckInfluxQuery(String influxQuery,
hudson.model.Item item) |
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, toMap
public boolean isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
isApplicable
in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
public String getDisplayName()
getDisplayName
in class hudson.model.Descriptor<hudson.tasks.Builder>
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.Builder>
hudson.model.Descriptor.FormException
public 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)
@POST public hudson.util.FormValidation doCheckCheckName(@QueryParameter String checkName, @AncestorInPath hudson.model.Item item)
@POST public hudson.util.FormValidation doCheckInfluxQuery(@QueryParameter String influxQuery, @AncestorInPath hudson.model.Item item)
@POST public hudson.util.FormValidation doCheckExpectedThreshold(@QueryParameter String expectedThreshold, @AncestorInPath hudson.model.Item item)
Copyright © 2016–2018. All rights reserved.