Interface RenderConfig.Builder

All Known Subinterfaces:
RenderConfig.IfExistsConfigBuilder, RenderConfig.IfNotExistsConfigBuilder
Enclosing class:
RenderConfig

public static interface RenderConfig.Builder
Defines the version and the edition of the current context. They will be parsed in a lenient way.
  • Method Details

    • forVersionAndEdition

      default RenderConfig forVersionAndEdition(String version, String edition)
      Parameters:
      version - will be parsed lenient into a static version and default to LATEST
      edition - will be parsed lenient into a static edition and default to UNDEFINED
      Returns:
      a config accommodating the given version and edition
    • forVersionAndEdition

      RenderConfig forVersionAndEdition(Neo4jVersion version, Neo4jEdition edition)
      Parameters:
      version - the target version of this config
      edition - the target edition of this config
      Returns:
      a config accommodating the given version and edition
    • idempotent

      RenderConfig.Builder idempotent(boolean idempotent)
      Turn the outcome into a potentially idempotent fashion
      Parameters:
      idempotent - set to true to produce an idempotent config
      Returns:
      this builder