org.jenkinsci.plugins.lucene.search.config
Class SearchBackendConfiguration
java.lang.Object
hudson.model.Descriptor<jenkins.model.GlobalConfiguration>
jenkins.model.GlobalConfiguration
org.jenkinsci.plugins.lucene.search.config.SearchBackendConfiguration
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<jenkins.model.GlobalConfiguration>, hudson.model.Saveable
@Extension
public class SearchBackendConfiguration
- extends jenkins.model.GlobalConfiguration
| Nested classes/interfaces inherited from class hudson.model.Descriptor |
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from class hudson.model.Descriptor |
clazz |
| Fields inherited from interface hudson.model.Saveable |
NOOP |
| Methods inherited from class jenkins.model.GlobalConfiguration |
all, getCategory, getDescriptor, getDisplayName, getGlobalConfigPage |
| Methods inherited from class hudson.model.Descriptor |
addHelpFileRedirect, 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchBackendConfiguration
@DataBoundConstructor
public SearchBackendConfiguration(String solrUrl,
String lucenePath,
String searchBackend,
String solrCollection)
SearchBackendConfiguration
public SearchBackendConfiguration(URI solrUrl,
File lucenePath,
SearchBackendEngine searchBackend,
String solrCollection)
SearchBackendConfiguration
public SearchBackendConfiguration()
getSolrUrl
public String getSolrUrl()
setSolrUrl
public void setSolrUrl(URI solrUrl)
getLucenePath
public String getLucenePath()
setLucenePath
public void setLucenePath(File lucenePath)
getSearchBackend
public String getSearchBackend()
getSearchBackendEngine
public SearchBackendEngine getSearchBackendEngine()
setSearchBackend
public void setSearchBackend(SearchBackendEngine searchBackend)
doCheckLucenePath
public hudson.util.FormValidation doCheckLucenePath(@QueryParameter
String lucenePath)
doFillSolrCollectionItems
public hudson.util.ListBoxModel doFillSolrCollectionItems(@QueryParameter
String solrUrl)
doCheckSolrUrl
public hudson.util.FormValidation doCheckSolrUrl(@QueryParameter
String solrUrl)
doCheckSolrCollection
public hudson.util.FormValidation doCheckSolrCollection(@QueryParameter
String solrCollection,
@QueryParameter
String solrUrl)
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
throws hudson.model.Descriptor.FormException
- Overrides:
configure in class hudson.model.Descriptor<jenkins.model.GlobalConfiguration>
- Throws:
hudson.model.Descriptor.FormException
getConfig
public Map<String,Object> getConfig()
getSolrCollection
public String getSolrCollection()
setSolrCollection
public void setSolrCollection(String solrCollection)
Copyright © 2004-2015. All Rights Reserved.