共用方式為


OperationStatus Class

public final class OperationStatus
extends ExpandableStringEnum<OperationStatus>

Known values for operation status.

Field Summary

Modifier and Type Field and Description
static final OperationStatus CANCELED

Static value canceled for OperationStatus.

static final OperationStatus FAILED

Static value failed for OperationStatus.

static final OperationStatus NOT_STARTED

Static value notStarted for OperationStatus.

static final OperationStatus RUNNING

Static value running for OperationStatus.

static final OperationStatus SUCCEEDED

Static value succeeded for OperationStatus.

Constructor Summary

Constructor Description
OperationStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a OperationStatus object.

Method Summary

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

Creates or finds a OperationStatus from its string representation.

static Collection<OperationStatus> values()

Returns known OperationStatus values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CANCELED

public static final OperationStatus CANCELED

Static value canceled for OperationStatus.

FAILED

public static final OperationStatus FAILED

Static value failed for OperationStatus.

NOT_STARTED

public static final OperationStatus NOT_STARTED

Static value notStarted for OperationStatus.

RUNNING

public static final OperationStatus RUNNING

Static value running for OperationStatus.

SUCCEEDED

public static final OperationStatus SUCCEEDED

Static value succeeded for OperationStatus.

Constructor Details

OperationStatus

@Deprecated
public OperationStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a OperationStatus object.

Method Details

fromString

public static OperationStatus fromString(String name)

Creates or finds a OperationStatus from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding OperationStatus.

values

public static Collection values()

Returns known OperationStatus values.

Returns:

known OperationStatus values.

Applies to