public static final class Neo4jResourceManager.Builder extends TestContainerResourceManager.Builder<Neo4jResourceManager>
Neo4jResourceManager.containerImageName, containerImageTag, host, port, testId, useStaticContainer| Modifier and Type | Method and Description |
|---|---|
Neo4jResourceManager |
build()
Builds and returns a Resource Manager that extends TestContainerResourceManager.
|
Neo4jResourceManager.Builder |
setAdminPassword(java.lang.String password) |
Neo4jResourceManager.Builder |
setDatabaseName(java.lang.String databaseName)
Sets the database name to that of a static database instance.
|
setContainerImageName, setContainerImageTag, setHost, setPort, useStaticContainerpublic Neo4jResourceManager.Builder setDatabaseName(java.lang.String databaseName)
Note: if a database name is set, and a static Neo4j server is being used (useStaticContainer() is also called on the builder), then a database will be created on the static server if it does not exist, and it will not be removed when cleanupAll() is called on the Neo4jResourceManager.
databaseName - The database name.public Neo4jResourceManager.Builder setAdminPassword(java.lang.String password)
public Neo4jResourceManager build()
TestContainerResourceManager.Builderbuild in class TestContainerResourceManager.Builder<Neo4jResourceManager>