HiRISE

HiRISE.HiCat.Utilities
Enum DBFeatureTest.ExitStatus

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

public static enum DBFeatureTest.ExitStatus
extends Enum<DBFeatureTest.ExitStatus>

Exit Status Values


Enum Constant Summary
CLI_PARSE_ERROR
           
DATABASE_CONFIG_ERROR
           
DATABASE_ERROR
           
SUCCESS
           
 
Method Summary
 int exitStatus()
           
static DBFeatureTest.ExitStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DBFeatureTest.ExitStatus[] 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 DBFeatureTest.ExitStatus SUCCESS

CLI_PARSE_ERROR

public static final DBFeatureTest.ExitStatus CLI_PARSE_ERROR

DATABASE_CONFIG_ERROR

public static final DBFeatureTest.ExitStatus DATABASE_CONFIG_ERROR

DATABASE_ERROR

public static final DBFeatureTest.ExitStatus DATABASE_ERROR
Method Detail

values

public static DBFeatureTest.ExitStatus[] 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 (DBFeatureTest.ExitStatus c : DBFeatureTest.ExitStatus.values())
    System.out.println(c);

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

valueOf

public static DBFeatureTest.ExitStatus 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

exitStatus

public int exitStatus()

HiRISE

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