Serializable
, Comparable<Result>
public enum Result extends Enum<Result>
Enum Constant | Description |
---|---|
FAILED |
|
IGNORED |
|
SUCCESSFUL |
Modifier and Type | Method | Description |
---|---|---|
static Result |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Result[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Result SUCCESSFUL
public static final Result FAILED
public static final Result IGNORED
public static Result[] values()
for (Result c : Result.values()) System.out.println(c);
public static Result 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 nullCopyright © 2007–2019. All rights reserved.