public static enum Validator.ResultType extends Enum<Validator.ResultType>
| Modifier and Type | Method and Description |
|---|---|
static Validator.ResultType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Validator.ResultType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Validator.ResultType ADVICE
public static final Validator.ResultType WARNING
public static final Validator.ResultType ERROR
public static Validator.ResultType[] values()
for (Validator.ResultType c : Validator.ResultType.values()) System.out.println(c);
public static Validator.ResultType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullBuilt on May 20 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.