public static enum WorkflowInstanceFacade.State extends Enum<WorkflowInstanceFacade.State>
Enum Constant and Description |
---|
cancelled
Workflow has been cancelled using
WorkflowInstanceFacade.cancelWorkflowRun() |
completed
Workflow has completed, all processors are finished and all data
delivered to all output ports.
|
paused
Workflow has been paused using
WorkflowInstanceFacade.pauseWorkflowRun() |
prepared
Workflow has not yet been started using
WorkflowInstanceFacade.fire() |
running
Workflow is running (or have been resumed using
WorkflowInstanceFacade.fire() ) |
Modifier and Type | Method and Description |
---|---|
static WorkflowInstanceFacade.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkflowInstanceFacade.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkflowInstanceFacade.State prepared
WorkflowInstanceFacade.fire()
public static final WorkflowInstanceFacade.State running
WorkflowInstanceFacade.fire()
)public static final WorkflowInstanceFacade.State paused
WorkflowInstanceFacade.pauseWorkflowRun()
public static final WorkflowInstanceFacade.State completed
public static final WorkflowInstanceFacade.State cancelled
WorkflowInstanceFacade.cancelWorkflowRun()
public static WorkflowInstanceFacade.State[] values()
for (WorkflowInstanceFacade.State c : WorkflowInstanceFacade.State.values()) System.out.println(c);
public static WorkflowInstanceFacade.State 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 nullCopyright © 2015–2016 The Apache Software Foundation. All rights reserved.