public class ElasticsearchTestHelper
extends java.lang.Object
implements org.osgi.framework.BundleActivator
Constructor and Description |
---|
ElasticsearchTestHelper() |
Modifier and Type | Method and Description |
---|---|
void |
afterTest() |
void |
beforeTest() |
org.elasticsearch.client.transport.TransportClient |
getClient() |
java.lang.String |
getHost() |
static ElasticsearchTestHelper |
getInstance() |
void |
refresh(java.lang.String index) |
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
public void start(org.osgi.framework.BundleContext context) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
java.lang.Exception
public void stop(org.osgi.framework.BundleContext context) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
java.lang.Exception
public java.lang.String getHost()
public org.elasticsearch.client.transport.TransportClient getClient()
public static ElasticsearchTestHelper getInstance()
public void afterTest()
public void beforeTest()
public void refresh(java.lang.String index)
Copyright © 2021. All Rights Reserved.