@Extension
public class SearchBackendConfiguration
extends jenkins.model.GlobalConfiguration
| Constructor and Description |
|---|
SearchBackendConfiguration() |
SearchBackendConfiguration(String solrUrl,
String lucenePath,
String searchBackend,
String solrCollection) |
SearchBackendConfiguration(URI solrUrl,
File lucenePath,
SearchBackendEngine searchBackend,
String solrCollection) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
hudson.util.FormValidation |
doCheckLucenePath(String lucenePath) |
hudson.util.FormValidation |
doCheckSolrCollection(String solrCollection,
String solrUrl) |
hudson.util.FormValidation |
doCheckSolrUrl(String solrUrl) |
hudson.util.ListBoxModel |
doFillSolrCollectionItems(String solrUrl) |
Map<String,Object> |
getConfig() |
String |
getLucenePath() |
String |
getSearchBackend() |
SearchBackendEngine |
getSearchBackendEngine() |
String |
getSolrCollection() |
String |
getSolrUrl() |
void |
setLucenePath(File lucenePath) |
void |
setSearchBackend(SearchBackendEngine searchBackend) |
void |
setSolrCollection(String solrCollection) |
void |
setSolrUrl(URI solrUrl) |
all, getCategory, getDescriptor, getDisplayName, getGlobalConfigPageaddHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, 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, toMap@DataBoundConstructor public SearchBackendConfiguration(String solrUrl, String lucenePath, String searchBackend, String solrCollection)
public SearchBackendConfiguration(URI solrUrl, File lucenePath, SearchBackendEngine searchBackend, String solrCollection)
public SearchBackendConfiguration()
public String getSolrUrl()
public void setSolrUrl(URI solrUrl)
public String getLucenePath()
public void setLucenePath(File lucenePath)
public String getSearchBackend()
public SearchBackendEngine getSearchBackendEngine()
public void setSearchBackend(SearchBackendEngine searchBackend)
public hudson.util.FormValidation doCheckLucenePath(@QueryParameter
String lucenePath)
public hudson.util.ListBoxModel doFillSolrCollectionItems(@QueryParameter
String solrUrl)
public hudson.util.FormValidation doCheckSolrUrl(@QueryParameter
String solrUrl)
public hudson.util.FormValidation doCheckSolrCollection(@QueryParameter
String solrCollection,
@QueryParameter
String solrUrl)
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<jenkins.model.GlobalConfiguration>hudson.model.Descriptor.FormExceptionpublic String getSolrCollection()
public void setSolrCollection(String solrCollection)
Copyright © 2004-2015. All Rights Reserved.