org.neo4j.graphdb.factory
Class GraphDatabaseSetting.FloatSetting

java.lang.Object
  extended by org.neo4j.graphdb.factory.GraphDatabaseSetting<T>
      extended by org.neo4j.graphdb.factory.GraphDatabaseSetting.NumberSetting<Float>
          extended by org.neo4j.graphdb.factory.GraphDatabaseSetting.FloatSetting
All Implemented Interfaces:
Setting
Enclosing class:
GraphDatabaseSetting<T>

Deprecated.

@Deprecated
public static class GraphDatabaseSetting.FloatSetting
extends GraphDatabaseSetting.NumberSetting<Float>

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.NumberSetting
max, min
 
Fields inherited from class org.neo4j.graphdb.factory.GraphDatabaseSetting
ANY, DURATION, FALSE, SIZE, TRUE
 
Constructor Summary
GraphDatabaseSetting.FloatSetting(String name, String formatMessage)
          Deprecated.  
GraphDatabaseSetting.FloatSetting(String name, String formatMessage, Float min, Float max)
          Deprecated.  
 
Method Summary
 void validate(Locale locale, String value)
          Deprecated. Validate a raw string value, called when configuration is set.
 Float valueOf(String rawValue, Config config)
          Deprecated. Create a typed value from a raw string value.
 
Methods inherited from class org.neo4j.graphdb.factory.GraphDatabaseSetting.NumberSetting
getMax, getMin, rangeCheck, rangeCheck
 
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.FloatSetting

public GraphDatabaseSetting.FloatSetting(String name,
                                         String formatMessage)
Deprecated. 

GraphDatabaseSetting.FloatSetting

public GraphDatabaseSetting.FloatSetting(String name,
                                         String formatMessage,
                                         Float min,
                                         Float max)
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<Float>

valueOf

public Float 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<Float>
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.