public static enum Workflow.WorkflowStatus extends Enum<Workflow.WorkflowStatus>
| Enum Constant and Description |
|---|
ACTIVE |
CANCELLED |
COMPLETED |
INACTIVE |
TRANSFERRED |
| Modifier and Type | Method and Description |
|---|---|
static Workflow.WorkflowStatus |
fromStatusCode(short statusCode) |
short |
statusCode() |
static Workflow.WorkflowStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Workflow.WorkflowStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Workflow.WorkflowStatus INACTIVE
public static final Workflow.WorkflowStatus ACTIVE
public static final Workflow.WorkflowStatus COMPLETED
public static final Workflow.WorkflowStatus CANCELLED
public static final Workflow.WorkflowStatus TRANSFERRED
public static Workflow.WorkflowStatus[] values()
for (Workflow.WorkflowStatus c : Workflow.WorkflowStatus.values()) System.out.println(c);
public static Workflow.WorkflowStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic short statusCode()
public static Workflow.WorkflowStatus fromStatusCode(short statusCode)
Copyright © 2017. All Rights Reserved.