public class ManagerApiTestServer extends Object
Modifier and Type | Field and Description |
---|---|
static io.searchbox.client.JestClient |
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).
|
io.searchbox.client.JestClient |
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
Exception
protected void addModulesToJetty(org.eclipse.jetty.server.handler.ContextHandlerCollection handlers) throws Exception
handlers
- Exception
public org.elasticsearch.node.Node getESNode()
public io.searchbox.client.JestClient getESClient()
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.