Annotation Type | Description |
---|---|
ConditionalNotEmpty | |
ConditionalNotEmpty.List |
Support for multiple
ConditionalNotEmpty annotations on the same type |
FieldEquals |
Validate that multiple fields on an object have identical values.
|
HttpURL |
Validate that the string is a valid https or https URL.
|
Int |
Validate a number is a valid integer.
|
NonNegativeInt |
Validate a number is a non-negative integer.
|
OptionalString |
Optional but if it is supplied it must be no longer than max characters and must not be the empty string (0-length).
|
RequiredField |
Validate that a field is non-blank
|
RequiredString |
Validate that the string is not empty and below a certain size,
and report any violation as a single message.
|
RequiredStrings |
Grouping of
RequiredString s. |
RequiredUri |
Validates that a URI is present and that it's
ASCII representation does not exceed
RequiredUri.size() characters in length |
Copyright © 2020 Atlassian. All rights reserved.