uk.ac.ncl.cs.instantsoap.servicedp
Enum InvocationState

java.lang.Object
  extended by java.lang.Enum<InvocationState>
      extended by uk.ac.ncl.cs.instantsoap.servicedp.InvocationState
All Implemented Interfaces:
Serializable, Comparable<InvocationState>

public enum InvocationState
extends Enum<InvocationState>

The state of an invocation.

Version:
1.0
Author:
Phillip Lord, Cheng-Yang(Louis) Tang, Matthew Pocock

Enum Constant Summary
COMPLETED
          The invocation has completed.
IN_PROGRESS
          The invocation is being processed.
WAITING
          The invocation is waiting to be processed.
 
Method Summary
static InvocationState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static InvocationState[] 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

WAITING

public static final InvocationState WAITING
The invocation is waiting to be processed. For example, it may be queued.


IN_PROGRESS

public static final InvocationState IN_PROGRESS
The invocation is being processed. For example, a command-line application is running.


COMPLETED

public static final InvocationState COMPLETED
The invocation has completed.

Method Detail

values

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

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

valueOf

public static InvocationState 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 © 2006-2008. All Rights Reserved.