|
Neo4j Enterprise | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.neo4j.graphdb.factory.GraphDatabaseSetting<T>
@Deprecated public abstract class GraphDatabaseSetting<T>
Setting types for Neo4j. Actual settings are in GraphDatabaseSettings.
This is a usage-only class, backwards compatibility is retained for using implementations
of it, but not for implementing it.
This is deprecated, please use Setting instead.
| Field Summary | |
|---|---|
static String |
ANY
Deprecated. |
static String |
DURATION
Deprecated. |
static String |
FALSE
Deprecated. |
static String |
SIZE
Deprecated. |
static String |
TRUE
Deprecated. |
| Constructor Summary | |
|---|---|
protected |
GraphDatabaseSetting(String name,
String validationMessage)
Deprecated. |
| Method Summary | |
|---|---|
protected String |
getMessage(Locale locale,
String defaultMessage)
Deprecated. |
protected IllegalArgumentException |
illegalValue(Locale locale,
String... args)
Deprecated. |
protected IllegalArgumentException |
illegalValue(Locale locale,
String value,
Object[] args)
Deprecated. |
protected IllegalArgumentException |
illegalValue(Locale locale,
String value,
String rawMessage,
Object[] args)
Deprecated. |
String |
name()
Deprecated. |
static boolean |
osIsMacOS()
Deprecated. |
static boolean |
osIsWindows()
Deprecated. |
abstract void |
validate(Locale locale,
String value)
Deprecated. Validate a raw string value, called when configuration is set. |
void |
validate(String value)
Deprecated. |
String |
validationMessage()
Deprecated. |
abstract T |
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 |
| Field Detail |
|---|
@Deprecated public static final String TRUE
@Deprecated public static final String FALSE
@Deprecated public static final String ANY
@Deprecated public static final String SIZE
@Deprecated public static final String DURATION
| Constructor Detail |
|---|
protected GraphDatabaseSetting(String name,
String validationMessage)
| Method Detail |
|---|
public String name()
name in interface Setting<T>public String validationMessage()
public void validate(String value)
throws IllegalArgumentException
validate in interface Setting<T>IllegalArgumentException
public abstract void validate(Locale locale,
String value)
locale - value -
public abstract T valueOf(String rawValue,
Config config)
rawValue - The raw string value stored in configurationconfig - The config instance, allows having config values that depend on each other.
protected String getMessage(Locale locale,
String defaultMessage)
@Deprecated
protected IllegalArgumentException illegalValue(Locale locale,
String... args)
protected IllegalArgumentException illegalValue(Locale locale,
String value,
Object[] args)
throws IllegalArgumentException
IllegalArgumentException
protected IllegalArgumentException illegalValue(Locale locale,
String value,
String rawMessage,
Object[] args)
throws IllegalArgumentException
IllegalArgumentExceptionpublic static boolean osIsWindows()
public static boolean osIsMacOS()
|
Neo4j Enterprise | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||