com.ecebs.rtd.enabler.types
Enum Outcome.State

java.lang.Object
  extended by java.lang.Enum<Outcome.State>
      extended by com.ecebs.rtd.enabler.types.Outcome.State
All Implemented Interfaces:
Serializable, Comparable<Outcome.State>
Enclosing class:
Outcome

public static enum Outcome.State
extends Enum<Outcome.State>

Represents the state of an operation

Author:
kyleb

Enum Constant Summary
DOWNLOAD_STARTED
          The download to the CM was underway
LAST_MESSAGE_PROCESSED
          The last message for the download has been processed
LAST_MESSAGE_RECEIVED
          The last message for the download has been received
REQUEST_ACCEPTED
          XML sent to RTDS and the XML received back indicated that the request was accepted
REQUESTED
          XML was sent to RTDS, but no response has been received, or the response contained an error.
START
          Nothing has yet been sent to the RTD Server
 
Method Summary
static Outcome.State valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Outcome.State[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

START

public static final Outcome.State START
Nothing has yet been sent to the RTD Server


REQUESTED

public static final Outcome.State REQUESTED
XML was sent to RTDS, but no response has been received, or the response contained an error.


REQUEST_ACCEPTED

public static final Outcome.State REQUEST_ACCEPTED
XML sent to RTDS and the XML received back indicated that the request was accepted


DOWNLOAD_STARTED

public static final Outcome.State DOWNLOAD_STARTED
The download to the CM was underway


LAST_MESSAGE_RECEIVED

public static final Outcome.State LAST_MESSAGE_RECEIVED
The last message for the download has been received


LAST_MESSAGE_PROCESSED

public static final Outcome.State LAST_MESSAGE_PROCESSED
The last message for the download has been processed

Method Detail

values

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

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

valueOf

public static Outcome.State 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


Copyright © 2013 Ecebs Ltd. All Rights Reserved.