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

    Fields
    Modifier and Type
    Field
    Description
    static 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

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, 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
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • DEFAULT_ENABLED

      public static final boolean DEFAULT_ENABLED
      Deprecated, 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_EPHEMERAL
      Deprecated, 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_DROPDATA
      Deprecated, 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 interface io.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

      public Map<String,Object> getOptions()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns:
      Options to pass to the embedded server
    • setOptions

      public void setOptions(Map<String,Object> options)
      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

      public Optional<String> getDirectory()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns:
      The directory to store embedded data
    • setDirectory

      public void setDirectory(String directory)
      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