public class ManagerApiTestServer extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.elasticsearch.client.Client |
ES_CLIENT |
| Constructor and Description |
|---|
ManagerApiTestServer()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addModulesToJetty(org.eclipse.jetty.server.handler.ContextHandlerCollection handlers)
Configure the web application(s).
|
org.elasticsearch.client.Client |
getESClient() |
org.elasticsearch.node.Node |
getESNode() |
protected void |
preStart()
Stuff to do before the server is started.
|
int |
serverPort()
The server port.
|
void |
start()
Start/run the server.
|
void |
stop()
Stop the server.
|
public int serverPort()
protected void preStart()
throws Exception
Exceptionprotected void addModulesToJetty(org.eclipse.jetty.server.handler.ContextHandlerCollection handlers)
throws Exception
handlers - Exceptionpublic org.elasticsearch.node.Node getESNode()
public org.elasticsearch.client.Client getESClient()
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.