S - the type of this builder's source object (eg. ConfigValueBuilder or ConstraintsBuilderT - the type of Constraint this builder should outputC - the type of the components in Tpublic static class ConstraintsBuilder.Aggregate<S,T,C> extends ConstraintsBuilder<S,T,ConstraintsBuilder.Aggregate<S,T,C>>
ConstraintsBuilder for aggregate constraints.
List or arrays.
Integer or String, are created using ConstraintsBuilder.ScalarConstraintsBuilder.Aggregate<S,T,C>, ConstraintsBuilder.Scalar<S,T>source, sourceConstraints, type| Modifier and Type | Method and Description |
|---|---|
ComponentConstraintsBuilder<ConstraintsBuilder.Aggregate<S,T,C>,T,C> |
component()
Creates a new
ComponentConstraintsBuilder. |
aggregate, composite, finish, scalarpublic ComponentConstraintsBuilder<ConstraintsBuilder.Aggregate<S,T,C>,T,C> component()
ComponentConstraintsBuilder.
Component constraints are constraints that test each value in an aggregate type. By default, all tested elements must satisfy the constraint in order for the entire constraint to be satisfied.