public enum ExitCode extends Enum<ExitCode>
| Enum Constant and Description |
|---|
DELETE_DB |
NORMAL |
RUNTIME_UPDATE |
UNKNOWN |
UPDATE |
| Modifier and Type | Method and Description |
|---|---|
int |
getExitCode() |
boolean |
isRelaunch() |
static ExitCode |
valueOf(int code) |
static ExitCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExitCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExitCode NORMAL
public static final ExitCode UPDATE
public static final ExitCode DELETE_DB
public static final ExitCode RUNTIME_UPDATE
public static final ExitCode UNKNOWN
public static ExitCode[] values()
for (ExitCode c : ExitCode.values()) System.out.println(c);
public static ExitCode 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 getExitCode()
public boolean isRelaunch()
public static ExitCode valueOf(int code)
Copyright © 2015 Ifremer. All rights reserved.