java.lang.Object | |
↳ | com.atlassian.bitbucket.validation.OptionalStringValidator |
Validator for the OptionalString
annotation.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Checks that the trimmed string is not empty.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Checks that the trimmed string is not empty.
s | The string to validate. |
---|---|
constraintValidatorContext | context in which the constraint is evaluated. |
true
if the string is null
or the length of s
between the specified
min
and max
values (inclusive), false
otherwise.