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 Summary
Modifier and TypeMethodDescriptionforVersionAndEdition
(Neo4jVersion version, Neo4jEdition edition) default RenderConfig
forVersionAndEdition
(String version, String edition) idempotent
(boolean idempotent) Turn the outcome into a potentially idempotent fashion
-
Method Details
-
forVersionAndEdition
- Parameters:
version
- will be parsed lenient into a static version and default toLATEST
edition
- will be parsed lenient into a static edition and default toUNDEFINED
- Returns:
- a config accommodating the given version and edition
-
forVersionAndEdition
- Parameters:
version
- the target version of this configedition
- the target edition of this config- Returns:
- a config accommodating the given version and edition
-
idempotent
Turn the outcome into a potentially idempotent fashion- Parameters:
idempotent
- set to true to produce an idempotent config- Returns:
- this builder
-