次の方法で共有


RunStepStatus Class

public final class RunStepStatus
extends ExpandableStringEnum<RunStepStatus>

Possible values for the status of a run step.

Field Summary

Modifier and Type Field and Description
static final RunStepStatus CANCELLED

Represents a run step that was cancelled.

static final RunStepStatus COMPLETED

Represents a run step that successfully completed.

static final RunStepStatus EXPIRED

Represents a run step that expired before otherwise finishing.

static final RunStepStatus FAILED

Represents a run step that failed.

static final RunStepStatus IN_PROGRESS

Represents a run step still in progress.

Constructor Summary

Constructor Description
RunStepStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RunStepStatus value.

Method Summary

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

Creates or finds a RunStepStatus from its string representation.

static Collection<RunStepStatus> values()

Gets known RunStepStatus values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CANCELLED

public static final RunStepStatus CANCELLED

Represents a run step that was cancelled.

COMPLETED

public static final RunStepStatus COMPLETED

Represents a run step that successfully completed.

EXPIRED

public static final RunStepStatus EXPIRED

Represents a run step that expired before otherwise finishing.

FAILED

public static final RunStepStatus FAILED

Represents a run step that failed.

IN_PROGRESS

public static final RunStepStatus IN_PROGRESS

Represents a run step still in progress.

Constructor Details

RunStepStatus

@Deprecated
public RunStepStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RunStepStatus value.

Method Details

fromString

public static RunStepStatus fromString(String name)

Creates or finds a RunStepStatus from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding RunStepStatus.

values

public static Collection<RunStepStatus> values()

Gets known RunStepStatus values.

Returns:

known RunStepStatus values.

Applies to