com.oracle.coherence.patterns.command.internal
Enum CommandExecutionRequest.Status

java.lang.Object
  extended by java.lang.Enum<CommandExecutionRequest.Status>
      extended by com.oracle.coherence.patterns.command.internal.CommandExecutionRequest.Status
All Implemented Interfaces:
Serializable, Comparable<CommandExecutionRequest.Status>
Enclosing class:
CommandExecutionRequest

public static enum CommandExecutionRequest.Status
extends Enum<CommandExecutionRequest.Status>

The request can be in one of three states: Pending, Started, or Canceled


Enum Constant Summary
Canceled
          The request has been canceled.
Pending
          The request is pending to execute.
Started
          The request is currently running.
 
Method Summary
static CommandExecutionRequest.Status valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CommandExecutionRequest.Status[] 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

Pending

public static final CommandExecutionRequest.Status Pending
The request is pending to execute.


Started

public static final CommandExecutionRequest.Status Started
The request is currently running.


Canceled

public static final CommandExecutionRequest.Status Canceled
The request has been canceled.

Method Detail

values

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

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

valueOf

public static CommandExecutionRequest.Status 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 © 2016. All rights reserved.