T
- the type of element that this validation rule supportsR
- the type of the result of the validationpublic abstract class ValidationRule<T,R> extends Object
Constructor and Description |
---|
ValidationRule(Class<T> classToApply) |
Modifier and Type | Method and Description |
---|---|
boolean |
appliesTo(Object modelElement) |
R |
checkRule(Object modelElement) |
protected abstract R |
validate(T modelElement) |
Copyright © 2020 Bonitasoft S.A. All rights reserved.