org.neo4j.graphdb.factory
Class GraphDatabaseSetting.StringSetting

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

Deprecated.

@Deprecated
public static class GraphDatabaseSetting.StringSetting
extends GraphDatabaseSetting<String>

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.StringSetting()
          Deprecated.  
GraphDatabaseSetting.StringSetting(String name, String regex, String formatMessage)
          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.StringSetting

public GraphDatabaseSetting.StringSetting()
Deprecated. 

GraphDatabaseSetting.StringSetting

public GraphDatabaseSetting.StringSetting(String name,
                                          String regex,
                                          String formatMessage)
Deprecated. 
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.

Specified by:
validate in class GraphDatabaseSetting<String>

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.

Specified by:
valueOf in class GraphDatabaseSetting<String>
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-2013 The Neo4j Graph Database Project. All Rights Reserved.