jenkins.plugins.logstash
@Extension public static final class LogstashInstallation.Descriptor extends hudson.tools.ToolDescriptor<LogstashInstallation>
| Modifier and Type | Field and Description |
|---|---|
String |
host |
String |
key |
String |
password |
Integer |
port |
LogstashIndexerDao.IndexerType |
type |
String |
username |
| Constructor and Description |
|---|
LogstashInstallation.Descriptor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
hudson.util.FormValidation |
doCheckHost(String value) |
hudson.util.FormValidation |
doCheckInteger(String value) |
hudson.util.FormValidation |
doCheckString(String value) |
String |
getDisplayName() |
LogstashIndexerDao |
getIndexerDao() |
hudson.tools.ToolInstallation |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
checkHomeDirectory, doCheckHome, doCheckName, getDefaultInstallers, getDefaultProperties, getInstallations, getPropertyDescriptors, setInstallationsaddHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, 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, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic LogstashIndexerDao.IndexerType type
public String host
public Integer port
public String username
public String password
public String key
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
configure in class hudson.tools.ToolDescriptor<LogstashInstallation>hudson.model.Descriptor.FormExceptionpublic hudson.tools.ToolInstallation newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
newInstance in class hudson.model.Descriptor<hudson.tools.ToolInstallation>hudson.model.Descriptor.FormExceptionpublic String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.tools.ToolInstallation>public LogstashIndexerDao getIndexerDao() throws InstantiationException
InstantiationExceptionIndexerDaoFactory#getInstance(IndexerType, String, int, String, String)public hudson.util.FormValidation doCheckInteger(@QueryParameter(value="value")
String value)
public hudson.util.FormValidation doCheckHost(@QueryParameter(value="value")
String value)
public hudson.util.FormValidation doCheckString(@QueryParameter(value="value")
String value)
Copyright © 2004-2015. All Rights Reserved.