Package ch.kk7.confij.binding
Class BindingResult<T>
java.lang.Object
ch.kk7.confij.binding.BindingResult<T>
- Type Parameters:
T-
public class BindingResult<T>
extends java.lang.Object
The outcome when buiding the final configuration object, but still keep it linked
to the old
ConfijNode and its child-results. Facilitates post-processing,
such as with a ConfijValidator.-
Constructor Summary
Constructors Constructor Description BindingResult() -
Method Summary
Modifier and Type Method Description static <X> BindingResult<X>of(X value, ConfijNode node, java.util.List<BindingResult<?>> children)static <X> BindingResult<X>ofLeaf(X value, ConfijNode node)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
BindingResult
public BindingResult()
-
-
Method Details
-
ofLeaf
-
of
public static <X> BindingResult<X> of(X value, ConfijNode node, java.util.List<BindingResult<?>> children)
-