Blue Mind
Release 1.0

net.bluemind.core.api.job
Enum BluejobExitStatus

java.lang.Object
  extended by java.lang.Enum<BluejobExitStatus>
      extended by net.bluemind.core.api.job.BluejobExitStatus
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BluejobExitStatus>

public enum BluejobExitStatus
extends java.lang.Enum<BluejobExitStatus>


Enum Constant Summary
COMPLETED_WITH_WARNINGS
          The task reported some problems but the work was accomplished.
FAILURE
          The task failed.
IN_PROGRESS
          The job is running.
SUCCESS
          Successful execution
UNKNOWN
          The task never run or all records was purge.
 
Method Summary
static BluejobExitStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static BluejobExitStatus[] 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

IN_PROGRESS

public static final BluejobExitStatus IN_PROGRESS
The job is running. This status is not possible in database, as we only record logs when the job finishes.


SUCCESS

public static final BluejobExitStatus SUCCESS
Successful execution


COMPLETED_WITH_WARNINGS

public static final BluejobExitStatus COMPLETED_WITH_WARNINGS
The task reported some problems but the work was accomplished.


FAILURE

public static final BluejobExitStatus FAILURE
The task failed. Most of its work was not done.


UNKNOWN

public static final BluejobExitStatus UNKNOWN
The task never run or all records was purge.

Method Detail

values

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

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

valueOf

public static BluejobExitStatus valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

Blue Mind
Release 1.0