public class InProcessServerControls extends Object implements ServerControls
| Constructor and Description |
|---|
InProcessServerControls(File serverFolder,
org.neo4j.server.AbstractNeoServer server,
Closeable additionalClosable) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Stop the test instance and delete all files related to it on disk.
|
org.neo4j.graphdb.GraphDatabaseService |
graph()
Access the
GraphDatabaseService used by the server |
URI |
httpsURI()
Returns ths URI to the root resource of the instance using the https protocol.
|
URI |
httpURI()
Returns the URI to the root resource of the instance.
|
void |
start() |
public URI httpURI()
ServerControlshttpURI in interface ServerControlspublic URI httpsURI()
ServerControlshttpsURI in interface ServerControlspublic void start()
public void close()
ServerControlsclose in interface AutoCloseableclose in interface ServerControlspublic org.neo4j.graphdb.GraphDatabaseService graph()
ServerControlsGraphDatabaseService used by the servergraph in interface ServerControlsCopyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.