public class ElasticsearchRule
extends org.junit.rules.ExternalResource
| Modifier and Type | Field and Description |
|---|---|
static String |
VITAM_CLUSTER |
| Constructor and Description |
|---|
ElasticsearchRule(File tempFolder,
String... collectionNames)
ElasticsearchRule constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
after() |
void |
afterClass()
Used when annotated @ClassRule
|
org.elasticsearch.client.Client |
getClient()
get the Client
|
String |
getClusterName()
get the cluster name
|
static int |
getTcpPort()
get the tcp port
|
void |
handleAfter()
Used when annotated @ClassRule
|
public static final String VITAM_CLUSTER
protected void after()
after in class org.junit.rules.ExternalResourcepublic void handleAfter()
public void afterClass()
public String getClusterName()
public static int getTcpPort()
public org.elasticsearch.client.Client getClient()
Copyright © 2018 Vitam. All rights reserved.