Report thresholds for metrics for example usually only have the constraint that they must be positive. It makes no sense to artificially restrict that, and it obliges us to take an arbitrary decision ("is 2000 enough? should I add a zero?"). We could add some methods mustBeAbove
and mustBeBelow
to the property builders and implement some logic in the NumericPropertyModule to have unbounded intervals.
NumericConstraint.positive()
min
and max
:<property name="intProp" type="Integer" value="3" min="1" max="20" description="An IntegerProperty."/>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4