org.jmythapi.database
Enum IJobStatus.Status

java.lang.Object
  extended by java.lang.Enum<IJobStatus.Status>
      extended by org.jmythapi.database.IJobStatus.Status
All Implemented Interfaces:
Serializable, Comparable<IJobStatus.Status>, IPositionalValue
Enclosing interface:
IJobStatus

public static enum IJobStatus.Status
extends Enum<IJobStatus.Status>
implements IPositionalValue


Enum Constant Summary
ABORTED
          Aborted.
ABORTING
          Aborting.
CANCELLED
          Cancelled.
DONE
          Done (Invalid status).
ERRORED
          Errored.
ERRORING
          Erroring.
FINISHED
          Finished.
PAUSED
          Paused.
PENDING
          Pending.
QUEUED
          Queued.
RETRY
          Retrying.
RUNNING
          Running.
STARTING
          Starting.
STOPPING
          Stopping.
UNKNOWN
          Unknown.
 
Method Summary
 int getPosition()
           
static IJobStatus.Status valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IJobStatus.Status[] 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

UNKNOWN

public static final IJobStatus.Status UNKNOWN
Unknown.


QUEUED

public static final IJobStatus.Status QUEUED
Queued.


PENDING

public static final IJobStatus.Status PENDING
Pending.


STARTING

public static final IJobStatus.Status STARTING
Starting.


RUNNING

public static final IJobStatus.Status RUNNING
Running.


STOPPING

public static final IJobStatus.Status STOPPING
Stopping.


PAUSED

public static final IJobStatus.Status PAUSED
Paused.


RETRY

public static final IJobStatus.Status RETRY
Retrying.


ERRORING

public static final IJobStatus.Status ERRORING
Erroring.

Since:
1057 61b7d3af98c7db9d6196322bfa90d989bb6fe14f

ABORTING

public static final IJobStatus.Status ABORTING
Aborting.

Since:
1057 61b7d3af98c7db9d6196322bfa90d989bb6fe14f

DONE

public static final IJobStatus.Status DONE
Done (Invalid status).

JOB_DONE is a mask to indicate the job is done no matter what the is.


FINISHED

public static final IJobStatus.Status FINISHED
Finished.


ABORTED

public static final IJobStatus.Status ABORTED
Aborted.


ERRORED

public static final IJobStatus.Status ERRORED
Errored.


CANCELLED

public static final IJobStatus.Status CANCELLED
Cancelled.

Since:
1074: 98dc2e0ef19168108a0760e910b61273c17e22bc
Method Detail

values

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

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

valueOf

public static IJobStatus.Status 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

getPosition

public int getPosition()
Specified by:
getPosition in interface IPositionalValue


Copyright © 2008-2013. All Rights Reserved.