org.neo4j.graphdb.config
Interface Setting<T>

All Superinterfaces:
Function<Function<String,String>,T>
All Known Implementing Classes:
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, GraphDatabaseSetting.StringSetting, GraphDatabaseSetting.TimeSpanSetting, GraphDatabaseSetting.URISetting, GraphDatabaseSettings.CacheTypeSetting, GraphDatabaseSettings.CypherParserSetting, GraphDatabaseSettings.UseMemoryMappedBuffers

public interface Setting<T>
extends Function<Function<String,String>,T>

Settings that can be provided in configurations are represented by instances of this interface, and are available as static fields in various *Settings classes, such as GraphDatabaseSettings. Use these with the methods in GraphDatabaseBuilder to provide your own configuration when constructing new databases. This interface is available only for use, not for implementing. Implementing this interface is not expected, and backwards compatibility is not guaranteed for implementors.


Method Summary
 String getDefaultValue()
          Get the default value of this setting, as a string.
 String name()
          Get the name of the setting.
 
Methods inherited from interface org.neo4j.helpers.Function
apply
 

Method Detail

name

String name()
Get the name of the setting. This typically corresponds to a key in a properties file, or similar.

Returns:
the name

getDefaultValue

String getDefaultValue()
Get the default value of this setting, as a string.

Returns:
the default value


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