com.buildforge.services.common.dbo
Enum CronDBO.Active

java.lang.Object
  extended by java.lang.Enum<CronDBO.Active>
      extended by com.buildforge.services.common.dbo.CronDBO.Active
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CronDBO.Active>
Enclosing class:
CronDBO

public static enum CronDBO.Active
extends java.lang.Enum<CronDBO.Active>

Indicates whether or not this scheduler entry is active. The values are interpreted as follows:

ValueMeaning
YESActive
NODisabled
ONCERun once, then become disabled


Enum Constant Summary
NO
           
ONCE
           
YES
           
 
Field Summary
static java.lang.Class<CronDBO.Active> CLASS
           
 char code
           
 
Method Summary
static CronDBO.Active fromDB(char code)
           
static CronDBO.Active fromObject(java.lang.Object o)
           
static CronDBO.Active valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CronDBO.Active[] values()
          Returns an array containing the constants of this enum type, in the order they're 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

YES

public static final CronDBO.Active YES

NO

public static final CronDBO.Active NO

ONCE

public static final CronDBO.Active ONCE
Field Detail

code

public final char code

CLASS

public static final java.lang.Class<CronDBO.Active> CLASS
Method Detail

values

public static final CronDBO.Active[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(CronDBO.Active c : CronDBO.Active.values())
        System.out.println(c);

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

valueOf

public static CronDBO.Active 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

fromDB

public static CronDBO.Active fromDB(char code)

fromObject

public static CronDBO.Active fromObject(java.lang.Object o)
                                 throws APIException
Throws:
APIException