com.buildforge.services.common.dbo
Enum ResultDBO.StepFlag
java.lang.Object
java.lang.Enum<ResultDBO.StepFlag>
com.buildforge.services.common.dbo.ResultDBO.StepFlag
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ResultDBO.StepFlag>
- Enclosing class:
- ResultDBO
public static enum ResultDBO.StepFlag
- extends java.lang.Enum<ResultDBO.StepFlag>
Identifies the current step flag, which controls special behaviors
like cancelling or skipping a step.
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 |
RUN
public static final ResultDBO.StepFlag RUN
SKIP
public static final ResultDBO.StepFlag SKIP
CANCEL
public static final ResultDBO.StepFlag CANCEL
PAUSE
public static final ResultDBO.StepFlag PAUSE
CLASS
public static final java.lang.Class<ResultDBO.StepFlag> CLASS
code
public final char code
values
public static final ResultDBO.StepFlag[] 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(ResultDBO.StepFlag c : ResultDBO.StepFlag.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static ResultDBO.StepFlag 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 ResultDBO.StepFlag fromDB(char c)
fromObject
public static ResultDBO.StepFlag fromObject(java.lang.Object o)
throws APIException
- Throws:
APIException