- addViolation
Adds new Violation. Violations are added during
#validate(ValidationContext,Object,String). They can
- validate
Performs validation of provided validation context and appends violations.
- <init>
- getViolations
Returns the list of validation violations or null if validation is successful.
- matchProfiles
Determine if any of checks profiles is among enabled profiles.
- resetProfiles
Reset profiles by clearing all enabled profiles and setting to default state.
- useProfiles
Enables list of profiles.
- create
Static constructor for fluent usage.
- hasViolations
Returns true if there are validations.
- resetViolations
Resets list of all violations.
- setSeverity
Set validation severity. Only checks with equal and higher severity will be
checked.
- setValidateAllProfilesByDefault
Specifies how to validate when no profiles is specified. If set to true, then
all profiles will be