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.


Enum Constant Summary
canceled
          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.
newJob
          New Job.
submitted
          The Job has been submitted.
succeeded
          The job has completed successfully.
timedOut
          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
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

canceled

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


newJob

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


timedOut

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