Esri Geoportal Server
1.0

com.esri.gpt.catalog.harvest.jobs
Enum HjRecord.JobStatus

java.lang.Object
  extended by java.lang.Enum<HjRecord.JobStatus>
      extended by com.esri.gpt.catalog.harvest.jobs.HjRecord.JobStatus
All Implemented Interfaces:
Serializable, Comparable<HjRecord.JobStatus>
Enclosing class:
HjRecord

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

Harvest job status.


Enum Constant Summary
Canceled
          Job has been canceled.
Completed
          Job has been completed.
Running
          Job is running (currently being processed).
Submited
          Job has just been submited.
 
Method Summary
static HjRecord.JobStatus checkValueOf(HrRecord.RecentJobStatus recentJobStatus)
          Checks value of status.
static HjRecord.JobStatus checkValueOf(String name)
          Checks status.
 HrRecord.RecentJobStatus getRecentJobStatus()
          Gets recent job status association.
static HjRecord.JobStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HjRecord.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

Submited

public static final HjRecord.JobStatus Submited
Job has just been submited.


Running

public static final HjRecord.JobStatus Running
Job is running (currently being processed).


Completed

public static final HjRecord.JobStatus Completed
Job has been completed.


Canceled

public static final HjRecord.JobStatus Canceled
Job has been canceled.

Method Detail

values

public static HjRecord.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 (HjRecord.JobStatus c : HjRecord.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 HjRecord.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

getRecentJobStatus

public HrRecord.RecentJobStatus getRecentJobStatus()
Gets recent job status association.

Returns:
recent job status association

checkValueOf

public static HjRecord.JobStatus checkValueOf(String name)
Checks status.

Parameters:
name - status name.
Returns:
status or Submited if unknown status.

checkValueOf

public static HjRecord.JobStatus checkValueOf(HrRecord.RecentJobStatus recentJobStatus)
Checks value of status.

Parameters:
recentJobStatus - recent job status
Returns:
job status

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.