| Package | Description |
|---|---|
| ru.finnetrolle.businesslogicvalidation | |
| ru.finnetrolle.businesslogicvalidation.specific |
| Modifier and Type | Method and Description |
|---|---|
ValidationEngine<V> |
ValidationEngine.addRule(Rule<V,?> rule)
Use this method to add your rules into validation chain
|
static <V> ValidationEngine<V> |
ValidationEngine.create(Rule<V,?>... rules)
Fabric method to create engine
|
| Modifier and Type | Class and Description |
|---|---|
class |
CriticalRule<V,D>
Class represents Rule with violation level = CRITICAL
|
class |
ErrorRule<V,D>
Class represents Rule with violation level = ERROR
|
class |
NoDataRule<V>
This class makes life easier if you need to create Rule without inner data
|
class |
NoticeRule<V,D>
Class represents Rule with violation level = NOTICE
|
class |
NullValuePropagationStopper<T>
Special class, that will stop validation chain if value is null
This can be useful if any of rules next in chain use value.some_method and can throw NPE
|
class |
PermissibleRule<V,D>
Class represents Rule with violation level = PERMISSIBLE
|
Copyright © 2015. All Rights Reserved.