public static enum Result.Status extends Enum<Result.Status>
| Enum Constant and Description |
|---|
ACCEPTED |
FAILED |
REJECTED |
SUCCESS |
SYSTEM_ERROR |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSuccess() |
static Result.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Result.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Result.Status ACCEPTED
public static final Result.Status SUCCESS
public static final Result.Status REJECTED
public static final Result.Status FAILED
public static final Result.Status SYSTEM_ERROR
public static Result.Status[] values()
for (Result.Status c : Result.Status.values()) System.out.println(c);
public static Result.Status 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 nullpublic boolean isSuccess()
Copyright © 2014–2018 JBoss by Red Hat. All rights reserved.