TaskStatus Class

public final class TaskStatus
extends ExpandableStringEnum<TaskStatus>

The current status of task.

Field Summary

Modifier and Type Field and Description
static final TaskStatus DISABLED

Static value Disabled for TaskStatus.

static final TaskStatus ENABLED

Static value Enabled for TaskStatus.

Constructor Summary

Constructor Description
TaskStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of TaskStatus value.

Method Summary

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

Creates or finds a TaskStatus from its string representation.

static Collection<TaskStatus> values()

Gets known TaskStatus values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISABLED

public static final TaskStatus DISABLED

Static value Disabled for TaskStatus.

ENABLED

public static final TaskStatus ENABLED

Static value Enabled for TaskStatus.

Constructor Details

TaskStatus

@Deprecated
public TaskStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of TaskStatus value.

Method Details

fromString

public static TaskStatus fromString(String name)

Creates or finds a TaskStatus from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding TaskStatus.

values

public static Collection values()

Gets known TaskStatus values.

Returns:

known TaskStatus values.

Applies to