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