@PublicApi public enum Result extends Enum<Result>
Enum Constant and Description |
---|
FAILURE |
NOT_FINISHED |
SUCCESS |
Modifier and Type | Method and 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 NOT_FINISHED
public static final Result SUCCESS
public static final Result FAILURE
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 © 2024 Atlassian. All rights reserved.