Package | Description |
---|---|
ninja.validation |
Modifier and Type | Field and Description |
---|---|
ConstraintViolation |
FieldViolation.constraintViolation |
Modifier and Type | Method and Description |
---|---|
static ConstraintViolation |
ConstraintViolation.create(String messageKey,
Object... messageParams)
Deprecated.
|
static ConstraintViolation |
ConstraintViolation.createForField(String messageKey,
String fieldKey,
Object... messageParams)
Deprecated.
|
static ConstraintViolation |
ConstraintViolation.createForFieldWithDefault(String messageKey,
String fieldKey,
String defaultMessage,
Object... messageParams)
Deprecated.
|
static ConstraintViolation |
ConstraintViolation.createWithDefault(String messageKey,
String defaultMessage,
Object... messageParams)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
List<ConstraintViolation> |
ValidationImpl.getGeneralViolations() |
List<ConstraintViolation> |
Validation.getGeneralViolations()
Deprecated.
|
List<ConstraintViolation> |
ValidationImpl.getViolations() |
List<ConstraintViolation> |
Validation.getViolations()
Get all constraint violations.
|
List<ConstraintViolation> |
ValidationImpl.getViolations(String paramName) |
List<ConstraintViolation> |
Validation.getViolations(String paramName)
Get a complete list of field violations for a specified parameter.
|
Modifier and Type | Method and Description |
---|---|
void |
ValidationImpl.addFieldViolation(String field,
ConstraintViolation constraintViolation) |
void |
Validation.addFieldViolation(String field,
ConstraintViolation constraintViolation)
Deprecated.
|
void |
ValidationImpl.addViolation(ConstraintViolation violation) |
void |
Validation.addViolation(ConstraintViolation constraintViolation)
Add a violation
|
Constructor and Description |
---|
FieldViolation(String field,
ConstraintViolation constraintViolation) |
Copyright © 2019 ninjaframework. All rights reserved.