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