org.neo4j.graphdb.factory
Class GraphDatabaseSetting.AbstractPathSetting

java.lang.Object
  extended by org.neo4j.graphdb.factory.GraphDatabaseSetting<String>
      extended by org.neo4j.graphdb.factory.GraphDatabaseSetting.StringSetting
          extended by org.neo4j.graphdb.factory.GraphDatabaseSetting.AbstractPathSetting
All Implemented Interfaces:
Setting
Direct Known Subclasses:
GraphDatabaseSetting.DirectorySetting, GraphDatabaseSetting.FileSetting
Enclosing class:
GraphDatabaseSetting<T>

Deprecated.

@Deprecated
public static class GraphDatabaseSetting.AbstractPathSetting
extends GraphDatabaseSetting.StringSetting

This is deprecated, because it is going to be moved out of the public API. Please use Setting instead.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.neo4j.graphdb.factory.GraphDatabaseSetting
GraphDatabaseSetting.AbstractPathSetting, GraphDatabaseSetting.BaseOptionsSetting<ST>, GraphDatabaseSetting.BooleanSetting, GraphDatabaseSetting.DefaultValue, GraphDatabaseSetting.DirectorySetting, GraphDatabaseSetting.DoubleSetting, GraphDatabaseSetting.EnumerableSetting<ET extends Enum<ET>>, GraphDatabaseSetting.FileSetting, GraphDatabaseSetting.FloatSetting, GraphDatabaseSetting.IntegerRangeNumberOfBytesSetting, GraphDatabaseSetting.IntegerSetting, GraphDatabaseSetting.ListSetting<T>, GraphDatabaseSetting.LongSetting, GraphDatabaseSetting.NumberOfBytesSetting, GraphDatabaseSetting.NumberSetting<T extends Number>, GraphDatabaseSetting.OptionsSetting, GraphDatabaseSetting.PortSetting, GraphDatabaseSetting.StringSetting, GraphDatabaseSetting.TimeSpanSetting, GraphDatabaseSetting.URISetting
 
Field Summary
 
Fields inherited from class org.neo4j.graphdb.factory.GraphDatabaseSetting
ANY, DURATION, FALSE, SIZE, TRUE
 
Constructor Summary
GraphDatabaseSetting.AbstractPathSetting(String name)
          Deprecated.  
GraphDatabaseSetting.AbstractPathSetting(String name, boolean makeCanonical, boolean fixIncorrectPathSeparators)
          Deprecated.  
GraphDatabaseSetting.AbstractPathSetting(String name, GraphDatabaseSetting.DirectorySetting relativeTo, boolean makeCanonical, boolean fixIncorrectPathSeparators)
          Deprecated.  
 
Method Summary
 void validate(Locale locale, String value)
          Deprecated. Validate a raw string value, called when configuration is set.
 String valueOf(String rawValue, Config config)
          Deprecated. Create a typed value from a raw string value.
 
Methods inherited from class org.neo4j.graphdb.factory.GraphDatabaseSetting
getMessage, illegalValue, illegalValue, illegalValue, name, osIsMacOS, osIsWindows, validate, validationMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphDatabaseSetting.AbstractPathSetting

public GraphDatabaseSetting.AbstractPathSetting(String name)
Deprecated. 

GraphDatabaseSetting.AbstractPathSetting

public GraphDatabaseSetting.AbstractPathSetting(String name,
                                                boolean makeCanonical,
                                                boolean fixIncorrectPathSeparators)
Deprecated. 
Parameters:
name -
makeCanonical - Resolve symbolic links and clean up the path string before returning it.
fixIncorrectPathSeparators - Ensure that path separators are correct for the current platform.

GraphDatabaseSetting.AbstractPathSetting

public GraphDatabaseSetting.AbstractPathSetting(String name,
                                                GraphDatabaseSetting.DirectorySetting relativeTo,
                                                boolean makeCanonical,
                                                boolean fixIncorrectPathSeparators)
Deprecated. 
Parameters:
name -
relativeTo - If the configured value is a relative path, make it relative to this config setting.
makeCanonical - Resolve symbolic links and clean up the path string before returning it.
fixIncorrectPathSeparators - Ensure that path separators are correct for the current platform.
Method Detail

validate

public void validate(Locale locale,
                     String value)
Deprecated. 
Description copied from class: GraphDatabaseSetting
Validate a raw string value, called when configuration is set. Throws IllegalArgumentException if the provided value is not valid.

Overrides:
validate in class GraphDatabaseSetting.StringSetting

valueOf

public String valueOf(String rawValue,
                      Config config)
Deprecated. 
Description copied from class: GraphDatabaseSetting
Create a typed value from a raw string value. This is to be called when a value is fetched from configuration.

Overrides:
valueOf in class GraphDatabaseSetting.StringSetting
Parameters:
rawValue - The raw string value stored in configuration
config - The config instance, allows having config values that depend on each other.
Returns:


Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.