PatchOperationStatus Class

public final class PatchOperationStatus
extends ExpandableStringEnum<PatchOperationStatus>

The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Unknown", "Failed", "Succeeded", or "CompletedWithWarnings.".

Field Summary

Modifier and Type Field and Description
static final PatchOperationStatus COMPLETED_WITH_WARNINGS

Static value CompletedWithWarnings for PatchOperationStatus.

static final PatchOperationStatus FAILED

Static value Failed for PatchOperationStatus.

static final PatchOperationStatus IN_PROGRESS

Static value InProgress for PatchOperationStatus.

static final PatchOperationStatus SUCCEEDED

Static value Succeeded for PatchOperationStatus.

static final PatchOperationStatus UNKNOWN

Static value Unknown for PatchOperationStatus.

Constructor Summary

Constructor Description
PatchOperationStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PatchOperationStatus value.

Method Summary

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

Creates or finds a PatchOperationStatus from its string representation.

static Collection<PatchOperationStatus> values()

Gets known PatchOperationStatus values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

COMPLETED_WITH_WARNINGS

public static final PatchOperationStatus COMPLETED_WITH_WARNINGS

Static value CompletedWithWarnings for PatchOperationStatus.

FAILED

public static final PatchOperationStatus FAILED

Static value Failed for PatchOperationStatus.

IN_PROGRESS

public static final PatchOperationStatus IN_PROGRESS

Static value InProgress for PatchOperationStatus.

SUCCEEDED

public static final PatchOperationStatus SUCCEEDED

Static value Succeeded for PatchOperationStatus.

UNKNOWN

public static final PatchOperationStatus UNKNOWN

Static value Unknown for PatchOperationStatus.

Constructor Details

PatchOperationStatus

@Deprecated
public PatchOperationStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PatchOperationStatus value.

Method Details

fromString

public static PatchOperationStatus fromString(String name)

Creates or finds a PatchOperationStatus from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding PatchOperationStatus.

values

public static Collection values()

Gets known PatchOperationStatus values.

Returns:

known PatchOperationStatus values.

Applies to