HiRISE

HiRISE.HiReport.model
Enum ConductorState

java.lang.Object
  extended by java.lang.Enum<ConductorState>
      extended by HiRISE.HiReport.model.ConductorState
All Implemented Interfaces:
Serializable, Comparable<ConductorState>

public enum ConductorState
extends Enum<ConductorState>

Enumerates the states of a Conductor source:

CRITICAL
Conductor process terminated
BUSY
Active process with PID
SUCCESS
All procedures completed successfully
FAILURE
A procedure failed
INCOMPLETE
Status NULL, but Conductor_ID not null
UNPROCESSED
Status and Conductor_ID NULL
ANY
Any state
Note, there can be an additional state where it looks like a success string but the number of sequences in the string does not match the number of procedures. HiReport no longer checks for that state.

Author:
guym

Enum Constant Summary
ANY
          Any status
BUSY
          Active process with PID
CRITICAL
          Conductor process terminated
FAILURE
          A procedure failed
INCOMPLETE
          Status NULL, but Conductor_ID not null
SUCCESS
          All procedures completed successfully
UNPROCESSED
          Status and Conductor_ID NULL
 
Method Summary
static ConductorState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ConductorState[] 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

FAILURE

public static final ConductorState FAILURE
A procedure failed


BUSY

public static final ConductorState BUSY
Active process with PID


SUCCESS

public static final ConductorState SUCCESS
All procedures completed successfully


CRITICAL

public static final ConductorState CRITICAL
Conductor process terminated


INCOMPLETE

public static final ConductorState INCOMPLETE
Status NULL, but Conductor_ID not null


UNPROCESSED

public static final ConductorState UNPROCESSED
Status and Conductor_ID NULL


ANY

public static final ConductorState ANY
Any status

Method Detail

values

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

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

valueOf

public static ConductorState 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

HiRISE

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