Package | Description |
---|---|
org.netbeans.validation.api |
Modifier and Type | Method and Description |
---|---|
Severity |
Problem.severity()
Get the
Severity of this Problem. |
static Severity |
Severity.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Severity[] |
Severity.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Problems.add(java.lang.String problem,
Severity severity)
Add a problem with the specified severity
|
static <T> Validator<T> |
ValidatorUtils.limitSeverity(Severity maximum,
Validator<T>... validators)
Wrapper one or more validators in a validator which imposes a limit on
the severity of the validators in use.
|
static <T> Validator<T> |
ValidatorUtils.limitSeverity(Severity maximum,
Validator<T> validator)
Wraps a validator in a validator which imposes a limit on the severity of the validator in use.
|
Constructor and Description |
---|
Problem(java.lang.String message,
Severity severity)
Create a new problem with the given message and severity
|