com.esri.core.tasks.ags.geoprocessing
Enum GPJobResource.JobStatus

java.lang.Object
  extended by java.lang.Enum<GPJobResource.JobStatus>
      extended by com.esri.core.tasks.ags.geoprocessing.GPJobResource.JobStatus
All Implemented Interfaces:
Serializable, Comparable<GPJobResource.JobStatus>
Enclosing class:
GPJobResource

public static enum GPJobResource.JobStatus
extends Enum<GPJobResource.JobStatus>

The job status.

Since:
1.0

Enum Constant Summary
CANCELLED
          The job has been canceled.
CANCELLING
          The job execution is being canceled.
DELETED
          The job has been deleted.
DELETING
          The job execution is being deleted.
EXECUTING
          The job is executing.
FAILED
          The job execution has failed.
NEW_JOB
          New Job.
SUBMITTED
          The Job has been submitted.
SUCCEEDED
          The job has completed successfully.
TIMED_OUT
          The job execution has timed out.
WAITING
          The Job is waiting.
 
Method Summary
static GPJobResource.JobStatus fromString(String value)
           
 String value()
          Returns the String representation of the enumeration value.
static GPJobResource.JobStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GPJobResource.JobStatus[] 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

CANCELLED

public static final GPJobResource.JobStatus CANCELLED
The job has been canceled.


CANCELLING

public static final GPJobResource.JobStatus CANCELLING
The job execution is being canceled.


DELETED

public static final GPJobResource.JobStatus DELETED
The job has been deleted.


DELETING

public static final GPJobResource.JobStatus DELETING
The job execution is being deleted.


EXECUTING

public static final GPJobResource.JobStatus EXECUTING
The job is executing.


FAILED

public static final GPJobResource.JobStatus FAILED
The job execution has failed.


NEW_JOB

public static final GPJobResource.JobStatus NEW_JOB
New Job.


SUBMITTED

public static final GPJobResource.JobStatus SUBMITTED
The Job has been submitted.


SUCCEEDED

public static final GPJobResource.JobStatus SUCCEEDED
The job has completed successfully.


TIMED_OUT

public static final GPJobResource.JobStatus TIMED_OUT
The job execution has timed out.


WAITING

public static final GPJobResource.JobStatus WAITING
The Job is waiting.

Method Detail

values

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

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

valueOf

public static GPJobResource.JobStatus 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

value

public String value()
Returns the String representation of the enumeration value.


fromString

public static GPJobResource.JobStatus fromString(String value)


Copyright © 2012. All Rights Reserved.