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 void
create()
String
getBasicAuthPwd()
String
getBasicAuthUser()
String
getConfigFile()
String
getConfigSet()
String
getName()
String
getSchemaFile()
SolrClientTestRule.NewCollectionBuilder
withBasicAuthCredentials(String user, String password)
SolrClientTestRule.NewCollectionBuilder
withConfigFile(String configFile)
SolrClientTestRule.NewCollectionBuilder
withConfigSet(String configSet)
SolrClientTestRule.NewCollectionBuilder
withSchemaFile(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.SolrServerException
IOException
-
getBasicAuthUser
public String getBasicAuthUser()
-
getBasicAuthPwd
public String getBasicAuthPwd()
-
-