org.neo4j.graphdb.factory
Class GraphDatabaseSetting.SettingWrapper<T>

java.lang.Object
  extended by org.neo4j.graphdb.factory.GraphDatabaseSetting<T>
      extended by org.neo4j.graphdb.factory.GraphDatabaseSetting.SettingWrapper<T>
Type Parameters:
T -
All Implemented Interfaces:
Setting<T>, Function<Function<String,String>,T>
Direct Known Subclasses:
GraphDatabaseSetting.BooleanSetting, GraphDatabaseSetting.DirectorySetting, GraphDatabaseSetting.DoubleSetting, GraphDatabaseSetting.FileSetting, GraphDatabaseSetting.FloatSetting, GraphDatabaseSetting.HostnamePortSetting, GraphDatabaseSetting.IntegerRangeNumberOfBytesSetting, GraphDatabaseSetting.IntegerSetting, GraphDatabaseSetting.LongSetting, GraphDatabaseSetting.NumberOfBytesSetting, GraphDatabaseSetting.OptionsSetting, GraphDatabaseSetting.StringSetting, GraphDatabaseSetting.TimeSpanSetting, GraphDatabaseSetting.URISetting, GraphDatabaseSettings.CacheTypeSetting
Enclosing class:
GraphDatabaseSetting<T>

Deprecated.

@Deprecated
public static class GraphDatabaseSetting.SettingWrapper<T>
extends GraphDatabaseSetting<T>

Wrapper of Setting created by Setttings.setting method. This should go away when we can delete this class due to deprecation


Nested Class Summary
 
Nested classes/interfaces inherited from class org.neo4j.graphdb.factory.GraphDatabaseSetting
GraphDatabaseSetting.BooleanSetting, GraphDatabaseSetting.DirectorySetting, GraphDatabaseSetting.DoubleSetting, GraphDatabaseSetting.FileSetting, GraphDatabaseSetting.FloatSetting, GraphDatabaseSetting.HostnamePortSetting, GraphDatabaseSetting.IntegerRangeNumberOfBytesSetting, GraphDatabaseSetting.IntegerSetting, GraphDatabaseSetting.LongSetting, GraphDatabaseSetting.NumberOfBytesSetting, GraphDatabaseSetting.OptionsSetting, GraphDatabaseSetting.PortSetting, GraphDatabaseSetting.SettingWrapper<T>, 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.SettingWrapper(Setting<T> setting)
          Deprecated.  
 
Method Summary
 T apply(Function<String,String> settings)
          Deprecated. Apply a value to this function
 String getDefaultValue()
          Deprecated. Get the default value of this setting, as a string.
 String name()
          Deprecated. Get the name of the setting.
 String toString()
          Deprecated.  
 
Methods inherited from class org.neo4j.graphdb.factory.GraphDatabaseSetting
osIsMacOS, osIsWindows
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GraphDatabaseSetting.SettingWrapper

public GraphDatabaseSetting.SettingWrapper(Setting<T> setting)
Deprecated. 
Method Detail

name

public String name()
Deprecated. 
Description copied from interface: Setting
Get the name of the setting. This typically corresponds to a key in a properties file, or similar.

Returns:
the name

getDefaultValue

public String getDefaultValue()
Deprecated. 
Description copied from interface: Setting
Get the default value of this setting, as a string.

Returns:
the default value

apply

public T apply(Function<String,String> settings)
Deprecated. 
Description copied from interface: Function
Apply a value to this function

Parameters:
settings - the input item
Returns:
the mapped item

toString

public String toString()
Deprecated. 
Overrides:
toString in class Object


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