Uses of Interface
net.sourceforge.pmd.properties.constraints.PropertyConstraint
-
Packages that use PropertyConstraint Package Description net.sourceforge.pmd.properties net.sourceforge.pmd.properties.constraints -
-
Uses of PropertyConstraint in net.sourceforge.pmd.properties
Methods in net.sourceforge.pmd.properties with parameters of type PropertyConstraint Modifier and Type Method Description B
PropertyBuilder. require(PropertyConstraint<? super T> constraint)
Add a constraint on the values that this property may take.PropertyBuilder.GenericCollectionPropertyBuilder<V,C>
PropertyBuilder.GenericCollectionPropertyBuilder. requireEach(PropertyConstraint<? super V> constraint)
Require that the given constraint be fulfilled on each item of the value of this property. -
Uses of PropertyConstraint in net.sourceforge.pmd.properties.constraints
Methods in net.sourceforge.pmd.properties.constraints that return PropertyConstraint Modifier and Type Method Description static <N extends Number & Comparable<N>>
PropertyConstraint<N>NumericConstraints. inRange(N minInclusive, N maxInclusive)
Requires the number to be inside a range.static <N extends Number>
PropertyConstraint<N>NumericConstraints. positive()
Requires the number to be strictly positive.PropertyConstraint<Iterable<? extends T>>
PropertyConstraint. toCollectionConstraint()
Returns a constraint that validates a collection of Ts by checking each component conforms to this conforms.
-