HiRISE

HiRISE.DTM
Enum DTM_Verifier.ExitCode

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

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

Exit Code Enumeration

Exit values indicate the exit status of the application, all non-zero values indicate somesource of error condition.

  Success       = 0
  Missing DTM   = 1
  


Enum Constant Summary
CONFIGURATION_ERROR
           
NO_DTM_FOUND
           
SUCCESS
           
 
Method Summary
 int code()
           
static DTM_Verifier.ExitCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DTM_Verifier.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 DTM_Verifier.ExitCode SUCCESS

NO_DTM_FOUND

public static final DTM_Verifier.ExitCode NO_DTM_FOUND

CONFIGURATION_ERROR

public static final DTM_Verifier.ExitCode CONFIGURATION_ERROR
Method Detail

values

public static DTM_Verifier.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 (DTM_Verifier.ExitCode c : DTM_Verifier.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 DTM_Verifier.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