public class ElasticSearchRule extends Object implements org.junit.rules.TestRule
Constructor and Description |
---|
ElasticSearchRule() |
ElasticSearchRule(ElasticSearchServerConfig config) |
Modifier and Type | Method and Description |
---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
String |
getUrl() |
void |
startServer() |
void |
stopServer() |
public ElasticSearchRule()
public ElasticSearchRule(ElasticSearchServerConfig config)
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
apply
in interface org.junit.rules.TestRule
public void stopServer() throws IOException
IOException
public String getUrl()
Copyright © 2020. All rights reserved.