@ParametersAreNonnullByDefault public class BlueprintsNeo4jConfig extends BaseBlueprintsConfig<BlueprintsNeo4jConfig>
BaseBlueprintsConfig
that creates Blueprints Neo4j specific configuration.
All features are all optional: configuration can be created using all or none of them.
BLUEPRINTS_PREFIX
BASE_PREFIX
Constructor and Description |
---|
BlueprintsNeo4jConfig()
Constructs a new
BlueprintsNeo4jConfig with default settings. |
Modifier and Type | Method and Description |
---|---|
BlueprintsNeo4jConfig |
addNativeOption(String key,
Object value)
Adds a native Neo4j key/value in this configuration.
|
void |
setLocation(Path directory)
Defines the location of the Blueprints database.
|
isPersistentKey, isReadOnlyKey, setGraph, withDefault
addListener, addOption, addStore, autoSave, autoSave, cacheContainers, cacheFeatures, cacheMetaClasses, cacheSizes, createKey, getMapping, getName, getOptions, getStores, getVariant, log, log, merge, merge, readOnly, recordStats, save, setMapping, setMappingWithCheck, toMap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
exists, forName, forScheme, load
getOption, getOptions, hasOption, isReadOnly
public BlueprintsNeo4jConfig()
BlueprintsNeo4jConfig
with default settings.public void setLocation(Path directory)
BaseBlueprintsConfig
NOTE: This option is intended to be used internally by the BlueprintsBackendFactory
.
setLocation
in class BaseBlueprintsConfig<BlueprintsNeo4jConfig>
directory
- the location of the database@Nonnull public BlueprintsNeo4jConfig addNativeOption(String key, Object value)
See org.neo4j.graphdb.factory.GraphDatabaseSettings
for more details.
key
- the native key to addvalue
- the value of the key
Copyright © 2013–2019 Atlanmod. All rights reserved.