S - the type of this builder's source object (eg. ConfigValueBuilder or ConstraintsBuilderT - the type of Constraint this builder should outputB - the type of this, for chainingpublic abstract class ConstraintsBuilder<S,T,B extends ConstraintsBuilder<S,T,B>> extends AbstractConstraintsBuilder<S,T,T,B>
| Modifier and Type | Class and Description |
|---|---|
static class |
ConstraintsBuilder.Aggregate<S,T,C> |
static class |
ConstraintsBuilder.Scalar<S,T> |
source, sourceConstraints, type| Modifier and Type | Method and Description |
|---|---|
static <S,A,T> ConstraintsBuilder.Aggregate<S,A,T> |
aggregate(S source,
java.util.List<Constraint<? super A>> constraints,
java.lang.Class<A> aggregateType,
java.lang.Class<T> componentType) |
CompositeConstraintBuilder<B,T> |
composite(CompositeType type) |
S |
finish() |
static <S,T> ConstraintsBuilder.Scalar<S,T> |
scalar(S source,
java.util.List<Constraint<? super T>> constraints,
java.lang.Class<T> type) |
public static <S,T> ConstraintsBuilder.Scalar<S,T> scalar(S source, java.util.List<Constraint<? super T>> constraints, java.lang.Class<T> type)
public static <S,A,T> ConstraintsBuilder.Aggregate<S,A,T> aggregate(S source, java.util.List<Constraint<? super A>> constraints, java.lang.Class<A> aggregateType, java.lang.Class<T> componentType)
public CompositeConstraintBuilder<B,T> composite(CompositeType type)
public S finish()