public static enum Terminate.Code extends Enum<Terminate.Code>
| Enum Constant and Description |
|---|
FINISHED |
RE_REQUEST_IN_PROGRESS |
RE_REQUEST_OUT_OF_BOUNDS |
UNSPECIFIED_ERROR |
| Modifier and Type | Method and Description |
|---|---|
static Terminate.Code |
fromValue(String value) |
String |
toString() |
String |
value() |
static Terminate.Code |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Terminate.Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Terminate.Code FINISHED
public static final Terminate.Code UNSPECIFIED_ERROR
public static final Terminate.Code RE_REQUEST_OUT_OF_BOUNDS
public static final Terminate.Code RE_REQUEST_IN_PROGRESS
public static Terminate.Code[] values()
for (Terminate.Code c : Terminate.Code.values()) System.out.println(c);
public static Terminate.Code 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 String toString()
toString in class Enum<Terminate.Code>public String value()
public static Terminate.Code fromValue(String value)
Copyright © 2019–2021 IG Group. All rights reserved.