Package ch.kk7.confij.tree
Class NodeBindingContext
java.lang.Object
ch.kk7.confij.tree.NodeBindingContext
public class NodeBindingContext
extends java.lang.Object
Immutable class to define (compile-time) definitions of how to map string configuration properties
to abstract nodes in a configuration context.
It's a binding-context since it can be modified using annotations.
-
Constructor Summary
Constructors Constructor Description NodeBindingContext() -
Method Summary
Modifier and Type Method Description static NodeBindingContextnewDefaultSettings(@NonNull ValueResolver valueResolver)NodeBindingContextsettingsFor(java.lang.reflect.AnnotatedElement element)protected NodeBindingContextwithDefaultValueFor(java.lang.reflect.AnnotatedElement element)protected NodeBindingContextwithValueResolverFor(java.lang.reflect.AnnotatedElement element)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
NodeBindingContext
public NodeBindingContext()
-
-
Method Details
-
newDefaultSettings
-
withValueResolverFor
-
withDefaultValueFor
-
settingsFor
-