org.jppf.client
Enum SubmissionStatus

java.lang.Object
  extended by java.lang.Enum<SubmissionStatus>
      extended by org.jppf.client.SubmissionStatus
All Implemented Interfaces:
Serializable, Comparable<SubmissionStatus>

public enum SubmissionStatus
extends Enum<SubmissionStatus>

The status of a submission.


Enum Constant Summary
COMPLETE
          The execution of the set of tasks is complete.
EXECUTING
          The set of tasks is being executed.
FAILED
          The execution of the set of tasks has failed.
PENDING
          The set of tasks is currently in the submission queue.
SUBMITTED
          The set of tasks was just submitted.
 
Method Summary
static SubmissionStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SubmissionStatus[] 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

SUBMITTED

public static final SubmissionStatus SUBMITTED
The set of tasks was just submitted.


PENDING

public static final SubmissionStatus PENDING
The set of tasks is currently in the submission queue.


EXECUTING

public static final SubmissionStatus EXECUTING
The set of tasks is being executed.


COMPLETE

public static final SubmissionStatus COMPLETE
The execution of the set of tasks is complete.


FAILED

public static final SubmissionStatus FAILED
The execution of the set of tasks has failed.

Method Detail

values

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

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

valueOf

public static SubmissionStatus 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 © 2005-2010 JPPF Team.