다음을 통해 공유


RunStatus Class

public final class RunStatus
extends ExpandableStringEnum<RunStatus>

The current status of the run.

Field Summary

Modifier and Type Field and Description
static final RunStatus CANCELED

Static value Canceled for RunStatus.

static final RunStatus ERROR

Static value Error for RunStatus.

static final RunStatus FAILED

Static value Failed for RunStatus.

static final RunStatus QUEUED

Static value Queued for RunStatus.

static final RunStatus RUNNING

Static value Running for RunStatus.

static final RunStatus STARTED

Static value Started for RunStatus.

static final RunStatus SUCCEEDED

Static value Succeeded for RunStatus.

static final RunStatus TIMEOUT

Static value Timeout for RunStatus.

Constructor Summary

Constructor Description
RunStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RunStatus value.

Method Summary

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

Creates or finds a RunStatus from its string representation.

static Collection<RunStatus> values()

Gets known RunStatus values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CANCELED

public static final RunStatus CANCELED

Static value Canceled for RunStatus.

ERROR

public static final RunStatus ERROR

Static value Error for RunStatus.

FAILED

public static final RunStatus FAILED

Static value Failed for RunStatus.

QUEUED

public static final RunStatus QUEUED

Static value Queued for RunStatus.

RUNNING

public static final RunStatus RUNNING

Static value Running for RunStatus.

STARTED

public static final RunStatus STARTED

Static value Started for RunStatus.

SUCCEEDED

public static final RunStatus SUCCEEDED

Static value Succeeded for RunStatus.

TIMEOUT

public static final RunStatus TIMEOUT

Static value Timeout for RunStatus.

Constructor Details

RunStatus

@Deprecated
public RunStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RunStatus value.

Method Details

fromString

public static RunStatus fromString(String name)

Creates or finds a RunStatus from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding RunStatus.

values

public static Collection values()

Gets known RunStatus values.

Returns:

known RunStatus values.

Applies to