com.buildforge.services.common.dbo
Enum CronDBO.Active
java.lang.Object
java.lang.Enum<CronDBO.Active>
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:
Value | Meaning |
YES | Active |
NO | Disabled |
ONCE | Run once, then become disabled |
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 |
YES
public static final CronDBO.Active YES
NO
public static final CronDBO.Active NO
ONCE
public static final CronDBO.Active ONCE
code
public final char code
CLASS
public static final java.lang.Class<CronDBO.Active> CLASS
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