org.neo4j.kernel.configuration
Class BaseConfigurationMigrator
java.lang.Object
org.neo4j.kernel.configuration.BaseConfigurationMigrator
- All Implemented Interfaces:
- ConfigurationMigrator
- Direct Known Subclasses:
- GraphDatabaseConfigurationMigrator
public class BaseConfigurationMigrator
- extends Object
- implements ConfigurationMigrator
A basic approach to implementing configuration migrations.
This applies migrations in both directions, meaning that you
can still continue to both read and write with the old configuration
value.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseConfigurationMigrator
public BaseConfigurationMigrator()
propertyRenamed
public static BaseConfigurationMigrator.Migration propertyRenamed(String oldKey,
String newKey,
String deprecationMessage)
add
public void add(BaseConfigurationMigrator.Migration migration)
apply
public Map<String,String> apply(Map<String,String> rawConfiguration,
org.neo4j.kernel.impl.util.StringLogger log)
- Specified by:
apply
in interface ConfigurationMigrator
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.