T
- type of value this setting will parse input string into and return.public interface Setting<T> extends Function<Function<String,String>,T>
Modifier and Type | Method and Description |
---|---|
T |
from(Configuration config) |
String |
getDefaultValue()
Get the default value of this setting, as a string.
|
default Optional<Function<String,T>> |
getParser()
Get the function used to parse this setting.
|
String |
name()
Get the name of the setting.
|
void |
withScope(Function<String,String> scopingRule)
Make this setting bound to a scope
|
String name()
void withScope(Function<String,String> scopingRule)
scopingRule
- The scoping rule to be applied to this settingString getDefaultValue()
T from(Configuration config)
Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.