oracle.sdp.messaging.driver
Enum WorkingStateType
java.lang.Object
java.lang.Enum<WorkingStateType>
oracle.sdp.messaging.driver.WorkingStateType
- All Implemented Interfaces:
- Serializable, java.lang.Comparable<WorkingStateType>
public enum WorkingStateType
- extends java.lang.Enum<WorkingStateType>
Method Summary |
static WorkingStateType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static WorkingStateType[] |
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 |
INITIALIZING
public static final WorkingStateType INITIALIZING
RUNNING
public static final WorkingStateType RUNNING
NON_FATAL_FAILURE
public static final WorkingStateType NON_FATAL_FAILURE
SENDING_ONLY_NON_FATAL_FAILURE
public static final WorkingStateType SENDING_ONLY_NON_FATAL_FAILURE
RECEIVING_ONLY_NON_FATAL_FAILURE
public static final WorkingStateType RECEIVING_ONLY_NON_FATAL_FAILURE
FATAL_FAILURE
public static final WorkingStateType FATAL_FAILURE
SENDING_ONLY_FATAL_FAILURE
public static final WorkingStateType SENDING_ONLY_FATAL_FAILURE
RECEIVING_ONLY_FATAL_FAILURE
public static final WorkingStateType RECEIVING_ONLY_FATAL_FAILURE
STOPPED
public static final WorkingStateType STOPPED
values
public static WorkingStateType[] 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 (WorkingStateType c : WorkingStateType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static WorkingStateType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
Copyright © 2009, 2013 Oracle and/or its affiliates. All rights reserved.