Class SolrProperties
java.lang.Object
com.broadleafcommerce.solr.autoconfigure.SolrProperties
- Author:
- Jeff Fischer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BooleanAllows explicit declaration via property for whether or not solr is allowed to launch via auto configuration.protected StringThe resource path (on the classpath) where solr configuration is found at runtime.protected StringProxy host should a proxy be required to download solrprotected StringPassword to use to access a proxy for downloading solrprotected StringPort to use to access a proxy for downloading solrprotected StringUser name to use to access a proxy for downloading solrprotected StringThe url from which to download the solr executable archive.protected BooleanForce startup when using ROOT user.protected StringThe name of the solr directory.protected intPort on which solr will listen for requestsprotected StringThe version of solr to use.protected StringThe working directory in the filesystem where solr will be downloaded and expanded for execution. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetForce()getName()intgetPort()voidsetAutoConfigEnabled(Boolean autoConfigEnabled) voidsetConfigSourcePath(String configSourcePath) voidsetDownloadProxyHost(String downloadProxyHost) voidsetDownloadProxyPassword(String downloadProxyPassword) voidsetDownloadProxyPort(String downloadProxyPort) voidsetDownloadProxyUserName(String downloadProxyUserName) voidsetDownloadUrl(String downloadUrl) voidvoidvoidsetPort(int port) voidsetVersion(String version) voidsetWorkingDirectory(String workingDirectory)
-
Field Details
-
version
The version of solr to use. -
workingDirectory
The working directory in the filesystem where solr will be downloaded and expanded for execution. -
downloadUrl
The url from which to download the solr executable archive. There should be two params (using String.format %s syntax) declared in the url pattern. These params take the solr version. -
name
The name of the solr directory. Includes a param (using String.format %s syntax) to hold ther version. -
downloadProxyHost
Proxy host should a proxy be required to download solr -
downloadProxyPort
Port to use to access a proxy for downloading solr -
downloadProxyUserName
User name to use to access a proxy for downloading solr -
downloadProxyPassword
Password to use to access a proxy for downloading solr -
port
protected int portPort on which solr will listen for requests -
configSourcePath
The resource path (on the classpath) where solr configuration is found at runtime. Used during solr initial expansion and is synched on each subsequent solr start. -
autoConfigEnabled
Allows explicit declaration via property for whether or not solr is allowed to launch via auto configuration. -
force
Force startup when using ROOT user. False by default.
-
-
Constructor Details
-
SolrProperties
public SolrProperties()
-
-
Method Details
-
getVersion
-
setVersion
-
getWorkingDirectory
-
setWorkingDirectory
-
getDownloadUrl
-
setDownloadUrl
-
getName
-
setName
-
getDownloadProxyHost
-
setDownloadProxyHost
-
getDownloadProxyPort
-
setDownloadProxyPort
-
getDownloadProxyUserName
-
setDownloadProxyUserName
-
getDownloadProxyPassword
-
setDownloadProxyPassword
-
getPort
public int getPort() -
setPort
public void setPort(int port) -
getConfigSourcePath
-
setConfigSourcePath
-
getAutoConfigEnabled
-
setAutoConfigEnabled
-
getForce
-
setForce
-