public class ValueNotAllowedException extends InvalidValueException
@Values.| Constructor and Description |
|---|
ValueNotAllowedException(@NotNull java.lang.String input,
@NotNull @Unmodifiable java.util.List<java.lang.String> allowedValues,
boolean caseSensitive) |
| Modifier and Type | Method and Description |
|---|---|
@Unmodifiable @NotNull java.util.List<java.lang.String> |
allowedValues()
Returns an immutable list of the allowed values
|
boolean |
caseSensitive()
Tests whether the parameter is case-sensitive or not
|
inputpublic ValueNotAllowedException(@NotNull
@NotNull java.lang.String input,
@NotNull
@NotNull @Unmodifiable java.util.List<java.lang.String> allowedValues,
boolean caseSensitive)
public boolean caseSensitive()
Values.caseSensitive()@NotNull public @Unmodifiable @NotNull java.util.List<java.lang.String> allowedValues()
Values.value()