public static enum Retired_Suggestion_Notifier.ExitCode extends java.lang.Enum<Retired_Suggestion_Notifier.ExitCode>
Enum Constant and Description |
---|
COMMAND_LINE_PARSE_ERROR |
CONFIGURATION_ERROR |
DATABASE_ERROR |
EMAILING_ERROR |
SUCCESS |
Modifier and Type | Method and Description |
---|---|
int |
code() |
static Retired_Suggestion_Notifier.ExitCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Retired_Suggestion_Notifier.ExitCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Retired_Suggestion_Notifier.ExitCode SUCCESS
public static final Retired_Suggestion_Notifier.ExitCode CONFIGURATION_ERROR
public static final Retired_Suggestion_Notifier.ExitCode DATABASE_ERROR
public static final Retired_Suggestion_Notifier.ExitCode COMMAND_LINE_PARSE_ERROR
public static final Retired_Suggestion_Notifier.ExitCode EMAILING_ERROR
public static Retired_Suggestion_Notifier.ExitCode[] values()
for (Retired_Suggestion_Notifier.ExitCode c : Retired_Suggestion_Notifier.ExitCode.values()) System.out.println(c);
public static Retired_Suggestion_Notifier.ExitCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int code()
Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona