public static enum WorkflowTask.Criticality extends Enum<WorkflowTask.Criticality>
| Enum Constant and Description |
|---|
BLOCKING |
CRITICAL |
NONBLOCKING
0=The task is not blocking the workflow
1=the task must be completed to complete the workflow
2=if the task of the same criticality acquire the same status then the workflow also gets the same status.
|
| Modifier and Type | Method and Description |
|---|---|
short |
criticalityCode() |
static WorkflowTask.Criticality |
fromCriticalityCode(short criticalityCode) |
static WorkflowTask.Criticality |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkflowTask.Criticality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkflowTask.Criticality NONBLOCKING
public static final WorkflowTask.Criticality BLOCKING
public static final WorkflowTask.Criticality CRITICAL
public static WorkflowTask.Criticality[] values()
for (WorkflowTask.Criticality c : WorkflowTask.Criticality.values()) System.out.println(c);
public static WorkflowTask.Criticality 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 criticalityCode()
public static WorkflowTask.Criticality fromCriticalityCode(short criticalityCode)
Copyright © 2017. All Rights Reserved.