org.neo4j.graphdb.factory
Class GraphDatabaseSetting.TimeSpanSetting
java.lang.Object
org.neo4j.graphdb.factory.GraphDatabaseSetting<Long>
org.neo4j.graphdb.factory.GraphDatabaseSetting.TimeSpanSetting
- All Implemented Interfaces:
- Setting
- Enclosing class:
- GraphDatabaseSetting<T>
Deprecated.
@Deprecated
public static class GraphDatabaseSetting.TimeSpanSetting
- extends GraphDatabaseSetting<Long>
This is deprecated, because it is going to be moved out of the public API. Please use Setting
instead.
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 |
Method Summary |
void |
validate(Locale locale,
String value)
Deprecated. Validate a raw string value, called when configuration is set. |
Long |
valueOf(String rawValue,
Config config)
Deprecated. Create a typed value from a raw string value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphDatabaseSetting.TimeSpanSetting
public GraphDatabaseSetting.TimeSpanSetting(String name)
- Deprecated.
validate
public void validate(Locale locale,
String value)
throws IllegalArgumentException
- 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<Long>
- Throws:
IllegalArgumentException
valueOf
public Long 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<Long>
- Parameters:
rawValue
- The raw string value stored in configurationconfig
- The config instance, allows having config values that depend on each other.
- Returns:
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.