HiRISE

HiRISE.HiCat.Utilities
Enum Retired_Suggestion_Notifier.ExitCode

java.lang.Object
  extended by java.lang.Enum<Retired_Suggestion_Notifier.ExitCode>
      extended by HiRISE.HiCat.Utilities.Retired_Suggestion_Notifier.ExitCode
All Implemented Interfaces:
Serializable, Comparable<Retired_Suggestion_Notifier.ExitCode>
Enclosing class:
Retired_Suggestion_Notifier

public static enum Retired_Suggestion_Notifier.ExitCode
extends Enum<Retired_Suggestion_Notifier.ExitCode>

Exit status


Enum Constant Summary
COMMAND_LINE_PARSE_ERROR
           
CONFIGURATION_ERROR
           
DATABASE_ERROR
           
EMAILING_ERROR
           
SUCCESS
           
 
Method Summary
 int code()
           
static Retired_Suggestion_Notifier.ExitCode valueOf(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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SUCCESS

public static final Retired_Suggestion_Notifier.ExitCode SUCCESS

CONFIGURATION_ERROR

public static final Retired_Suggestion_Notifier.ExitCode CONFIGURATION_ERROR

DATABASE_ERROR

public static final Retired_Suggestion_Notifier.ExitCode DATABASE_ERROR

COMMAND_LINE_PARSE_ERROR

public static final Retired_Suggestion_Notifier.ExitCode COMMAND_LINE_PARSE_ERROR

EMAILING_ERROR

public static final Retired_Suggestion_Notifier.ExitCode EMAILING_ERROR
Method Detail

values

public static Retired_Suggestion_Notifier.ExitCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Retired_Suggestion_Notifier.ExitCode c : Retired_Suggestion_Notifier.ExitCode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Retired_Suggestion_Notifier.ExitCode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

code

public int code()

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona