Neo4jContainer.withLabsPlugins(String...) with the matching plugin name for your Neo4j version.
Due to some renaming of the (Docker image) plugin names, there is no naming consistency across versions.
The plugins are listed here
public enum Neo4jLabsPlugin extends java.lang.Enum<Neo4jLabsPlugin>
| Enum Constant and Description |
|---|
APOC
Deprecated.
|
APOC_CORE
Deprecated.
|
BLOOM
Deprecated.
|
GRAPH_DATA_SCIENCE
Deprecated.
|
NEO_SEMANTICS
Deprecated.
|
STREAMS
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static Neo4jLabsPlugin |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static Neo4jLabsPlugin[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Neo4jLabsPlugin APOC
public static final Neo4jLabsPlugin APOC_CORE
public static final Neo4jLabsPlugin BLOOM
public static final Neo4jLabsPlugin STREAMS
public static final Neo4jLabsPlugin GRAPH_DATA_SCIENCE
public static final Neo4jLabsPlugin NEO_SEMANTICS
public static Neo4jLabsPlugin[] values()
for (Neo4jLabsPlugin c : Neo4jLabsPlugin.values()) System.out.println(c);
public static Neo4jLabsPlugin valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null