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