UpdateState Class

public final class UpdateState
extends ExpandableStringEnum<UpdateState>

Update state of a SessionHost.

Field Summary

Modifier and Type Field and Description
static final UpdateState FAILED

Static value Failed for UpdateState.

static final UpdateState INITIAL

Static value Initial for UpdateState.

static final UpdateState PENDING

Static value Pending for UpdateState.

static final UpdateState STARTED

Static value Started for UpdateState.

static final UpdateState SUCCEEDED

Static value Succeeded for UpdateState.

Constructor Summary

Constructor Description
UpdateState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of UpdateState value.

Method Summary

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

Creates or finds a UpdateState from its string representation.

static Collection<UpdateState> values()

Gets known UpdateState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

FAILED

public static final UpdateState FAILED

Static value Failed for UpdateState.

INITIAL

public static final UpdateState INITIAL

Static value Initial for UpdateState.

PENDING

public static final UpdateState PENDING

Static value Pending for UpdateState.

STARTED

public static final UpdateState STARTED

Static value Started for UpdateState.

SUCCEEDED

public static final UpdateState SUCCEEDED

Static value Succeeded for UpdateState.

Constructor Details

UpdateState

@Deprecated
public UpdateState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of UpdateState value.

Method Details

fromString

public static UpdateState fromString(String name)

Creates or finds a UpdateState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding UpdateState.

values

public static Collection<UpdateState> values()

Gets known UpdateState values.

Returns:

known UpdateState values.

Applies to