Package org.apache.solr.util
Class SolrClientTestRule.NewCollectionBuilder
- java.lang.Object
 - 
- org.apache.solr.util.SolrClientTestRule.NewCollectionBuilder
 
 
- 
- Enclosing class:
 - SolrClientTestRule
 
public class SolrClientTestRule.NewCollectionBuilder extends Object
 
- 
- 
Constructor Summary
Constructors Constructor Description NewCollectionBuilder(String name) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreate()StringgetBasicAuthPwd()StringgetBasicAuthUser()StringgetConfigFile()StringgetConfigSet()StringgetName()StringgetSchemaFile()SolrClientTestRule.NewCollectionBuilderwithBasicAuthCredentials(String user, String password)SolrClientTestRule.NewCollectionBuilderwithConfigFile(String configFile)SolrClientTestRule.NewCollectionBuilderwithConfigSet(String configSet)SolrClientTestRule.NewCollectionBuilderwithSchemaFile(String schemaFile) 
 - 
 
- 
- 
Constructor Detail
- 
NewCollectionBuilder
public NewCollectionBuilder(String name)
 
 - 
 
- 
Method Detail
- 
withConfigSet
public SolrClientTestRule.NewCollectionBuilder withConfigSet(String configSet)
 
- 
withConfigFile
public SolrClientTestRule.NewCollectionBuilder withConfigFile(String configFile)
 
- 
withSchemaFile
public SolrClientTestRule.NewCollectionBuilder withSchemaFile(String schemaFile)
 
- 
withBasicAuthCredentials
public SolrClientTestRule.NewCollectionBuilder withBasicAuthCredentials(String user, String password)
 
- 
getName
public String getName()
 
- 
getConfigSet
public String getConfigSet()
 
- 
getConfigFile
public String getConfigFile()
 
- 
getSchemaFile
public String getSchemaFile()
 
- 
create
public void create() throws org.apache.solr.client.solrj.SolrServerException, IOException- Throws:
 org.apache.solr.client.solrj.SolrServerExceptionIOException
 
- 
getBasicAuthUser
public String getBasicAuthUser()
 
- 
getBasicAuthPwd
public String getBasicAuthPwd()
 
 - 
 
 -