WorkflowState Class

public final class WorkflowState
extends ExpandableStringEnum<WorkflowState>

The workflow state.

Field Summary

Modifier and Type Field and Description
static final WorkflowState COMPLETED

Static value Completed for WorkflowState.

static final WorkflowState DELETED

Static value Deleted for WorkflowState.

static final WorkflowState DISABLED

Static value Disabled for WorkflowState.

static final WorkflowState ENABLED

Static value Enabled for WorkflowState.

static final WorkflowState NOT_SPECIFIED

Static value NotSpecified for WorkflowState.

static final WorkflowState SUSPENDED

Static value Suspended for WorkflowState.

Constructor Summary

Constructor Description
WorkflowState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of WorkflowState value.

Method Summary

Modifier and Type Method and Description
static WorkflowState fromString(String name)

Creates or finds a WorkflowState from its string representation.

static Collection<WorkflowState> values()

Gets known WorkflowState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

COMPLETED

public static final WorkflowState COMPLETED

Static value Completed for WorkflowState.

DELETED

public static final WorkflowState DELETED

Static value Deleted for WorkflowState.

DISABLED

public static final WorkflowState DISABLED

Static value Disabled for WorkflowState.

ENABLED

public static final WorkflowState ENABLED

Static value Enabled for WorkflowState.

NOT_SPECIFIED

public static final WorkflowState NOT_SPECIFIED

Static value NotSpecified for WorkflowState.

SUSPENDED

public static final WorkflowState SUSPENDED

Static value Suspended for WorkflowState.

Constructor Details

WorkflowState

@Deprecated
public WorkflowState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of WorkflowState value.

Method Details

fromString

public static WorkflowState fromString(String name)

Creates or finds a WorkflowState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding WorkflowState.

values

public static Collection values()

Gets known WorkflowState values.

Returns:

known WorkflowState values.

Applies to