org.neo4j.graphdb.factory
Class GraphDatabaseSetting.PortSetting
java.lang.Object
org.neo4j.graphdb.factory.GraphDatabaseSetting<T>
org.neo4j.graphdb.factory.GraphDatabaseSetting.NumberSetting<Integer>
org.neo4j.graphdb.factory.GraphDatabaseSetting.IntegerSetting
org.neo4j.graphdb.factory.GraphDatabaseSetting.PortSetting
- All Implemented Interfaces:
- Setting
- Enclosing class:
- GraphDatabaseSetting<T>
Deprecated.
@Deprecated
public static class GraphDatabaseSetting.PortSetting
- extends GraphDatabaseSetting.IntegerSetting
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.HostnamePortSetting, 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphDatabaseSetting.PortSetting
public GraphDatabaseSetting.PortSetting(String name)
- Deprecated.
validate
public void validate(Locale locale,
String values)
- 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.
- Overrides:
validate in class GraphDatabaseSetting.IntegerSetting
getPorts
public int[] getPorts(Map<String,String> config)
- Deprecated.
getPort
public int getPort(Map<String,String> config)
- Deprecated.
rangeCheck
protected void rangeCheck(Comparable value)
- Deprecated.
valueOf
public Integer 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.
- Overrides:
valueOf in class GraphDatabaseSetting.IntegerSetting
- 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.