public enum WorkflowExecutionRegistry extends Enum<WorkflowExecutionRegistry>
WorkflowExecution
.Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
WorkflowExecution |
getExecution(WorkflowConfig config)
Gets the
WorkflowExecution from workflow config. |
static WorkflowExecutionRegistry |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkflowExecutionRegistry[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkflowExecutionRegistry INSTANCE
public static WorkflowExecutionRegistry[] values()
for (WorkflowExecutionRegistry c : WorkflowExecutionRegistry.values()) System.out.println(c);
public static WorkflowExecutionRegistry 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 WorkflowExecution getExecution(WorkflowConfig config) throws JobDoesNotExistException
WorkflowExecution
from workflow config.config
- the workflow configurationJobDoesNotExistException
- when the job execution for this config does not existCopyright © 2023. All Rights Reserved.