Esri Geoportal Server
1.0

com.esri.gpt.catalog.harvest.repository
Enum HrRecord.RecentJobStatus

java.lang.Object
  extended by java.lang.Enum<HrRecord.RecentJobStatus>
      extended by com.esri.gpt.catalog.harvest.repository.HrRecord.RecentJobStatus
All Implemented Interfaces:
Serializable, Comparable<HrRecord.RecentJobStatus>
Enclosing class:
HrRecord

public static enum HrRecord.RecentJobStatus
extends Enum<HrRecord.RecentJobStatus>

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 submitted.
Unavailable
          Unavailable; no job has been submitted yet.
 
Method Summary
static HrRecord.RecentJobStatus checkValueOf(int intId)
          Checks job integer id.
static HrRecord.RecentJobStatus checkValueOf(String name)
          Checks recent job status.
 int getIntId()
          Gets integer id.
static HrRecord.RecentJobStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HrRecord.RecentJobStatus[] 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

Unavailable

public static final HrRecord.RecentJobStatus Unavailable
Unavailable; no job has been submitted yet.


Submited

public static final HrRecord.RecentJobStatus Submited
Job has just been submitted.


Running

public static final HrRecord.RecentJobStatus Running
Job is running (currently being processed).


Completed

public static final HrRecord.RecentJobStatus Completed
Job has been completed.


Canceled

public static final HrRecord.RecentJobStatus Canceled
job has been canceled

Method Detail

values

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

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

valueOf

public static HrRecord.RecentJobStatus 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

getIntId

public int getIntId()
Gets integer id.

Returns:
integer id

checkValueOf

public static HrRecord.RecentJobStatus checkValueOf(String name)
Checks recent job status.

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

checkValueOf

public static HrRecord.RecentJobStatus checkValueOf(int intId)
Checks job integer id.

Parameters:
intId - integer id
Returns:
status or Unavailable if invalid integer id

Esri Geoportal Server
1.0

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