Package io.micronaut.neo4j.bolt
Class Neo4jBoltConfiguration.Neo4jEmbeddedSettings
java.lang.Object
io.micronaut.neo4j.bolt.Neo4jBoltConfiguration.Neo4jEmbeddedSettings
- All Implemented Interfaces:
io.micronaut.core.util.Toggleable
- Enclosing class:
- Neo4jBoltConfiguration
@ConfigurationProperties("embedded")
@Deprecated(since="6.0.2",
forRemoval=true)
public static class Neo4jBoltConfiguration.Neo4jEmbeddedSettings
extends Object
implements io.micronaut.core.util.Toggleable
Deprecated, for removal: This API element is subject to removal in a future version.
Use testcontainers instead. See Testcontainers Neo4j
The configuration settings for the embedded Neo4j.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final boolean
Deprecated, for removal: This API element is subject to removal in a future version.The default drop data value.static final boolean
Deprecated, for removal: This API element is subject to removal in a future version.The default enable value.static final boolean
Deprecated, for removal: This API element is subject to removal in a future version.The default ephemeral value. -
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.void
setDirectory
(String directory) Deprecated, for removal: This API element is subject to removal in a future version.void
setDropData
(boolean dropData) Deprecated, for removal: This API element is subject to removal in a future version.Default value (false).void
setEnabled
(boolean enabled) Deprecated, for removal: This API element is subject to removal in a future version.Default value (true).void
setEphemeral
(boolean ephemeral) Deprecated, for removal: This API element is subject to removal in a future version.Default value (false).void
setOptions
(Map<String, Object> options) Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
DEFAULT_ENABLED
public static final boolean DEFAULT_ENABLEDDeprecated, for removal: This API element is subject to removal in a future version.The default enable value.- See Also:
-
DEFAULT_EPHEMERAL
public static final boolean DEFAULT_EPHEMERALDeprecated, for removal: This API element is subject to removal in a future version.The default ephemeral value.- See Also:
-
DEFAULT_DROPDATA
public static final boolean DEFAULT_DROPDATADeprecated, for removal: This API element is subject to removal in a future version.The default drop data value.- See Also:
-
-
Constructor Details
-
Neo4jEmbeddedSettings
public Neo4jEmbeddedSettings()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
isEnabled
public boolean isEnabled()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isEnabled
in interfaceio.micronaut.core.util.Toggleable
- Returns:
- Whether the embedded sever is enabled
-
setEnabled
public void setEnabled(boolean enabled) Deprecated, for removal: This API element is subject to removal in a future version.Default value (true).- Parameters:
enabled
- enable the server
-
getOptions
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- Options to pass to the embedded server
-
setOptions
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
options
- The options to pass to the embedded server
-
getDirectory
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- The directory to store embedded data
-
setDirectory
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
directory
- The directory
-
isDropData
public boolean isDropData()Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- Whether to drop existing data
-
setDropData
public void setDropData(boolean dropData) Deprecated, for removal: This API element is subject to removal in a future version.Default value (false).- Parameters:
dropData
- drop the existing data
-
isEphemeral
public boolean isEphemeral()Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- Whether to create the database in a temp directory and deleted on shutdown
-
setEphemeral
public void setEphemeral(boolean ephemeral) Deprecated, for removal: This API element is subject to removal in a future version.Default value (false).- Parameters:
ephemeral
- define the embedded ser as ephemeral
-