public final class ChangedRangeTrait extends AbstractDiffEvaluator
Constructor and Description |
---|
ChangedRangeTrait() |
Modifier and Type | Method and Description |
---|---|
java.util.List<ValidationEvent> |
evaluate(Differences differences)
Returns validation events given two models and the detected
differences between them.
|
protected java.util.Optional<java.math.BigDecimal> |
getMax(RangeTrait t) |
protected java.util.Optional<java.math.BigDecimal> |
getMin(RangeTrait t) |
protected java.lang.Class<RangeTrait> |
getTraitType() |
danger, danger, error, error, getEventId, note, note, warning, warning
protected java.lang.Class<RangeTrait> getTraitType()
protected java.util.Optional<java.math.BigDecimal> getMin(RangeTrait t)
protected java.util.Optional<java.math.BigDecimal> getMax(RangeTrait t)
public final java.util.List<ValidationEvent> evaluate(Differences differences)
DiffEvaluator
differences
- Detected differences.