Partager via


RevisionHealthState Class

public final class RevisionHealthState
extends ExpandableStringEnum<RevisionHealthState>

Current health State of the revision.

Field Summary

Modifier and Type Field and Description
static final RevisionHealthState HEALTHY

Static value Healthy for RevisionHealthState.

static final RevisionHealthState NONE

Static value None for RevisionHealthState.

static final RevisionHealthState UNHEALTHY

Static value Unhealthy for RevisionHealthState.

Constructor Summary

Constructor Description
RevisionHealthState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RevisionHealthState value.

Method Summary

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

Creates or finds a RevisionHealthState from its string representation.

static Collection<RevisionHealthState> values()

Gets known RevisionHealthState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

HEALTHY

public static final RevisionHealthState HEALTHY

Static value Healthy for RevisionHealthState.

NONE

public static final RevisionHealthState NONE

Static value None for RevisionHealthState.

UNHEALTHY

public static final RevisionHealthState UNHEALTHY

Static value Unhealthy for RevisionHealthState.

Constructor Details

RevisionHealthState

@Deprecated
public RevisionHealthState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RevisionHealthState value.

Method Details

fromString

public static RevisionHealthState fromString(String name)

Creates or finds a RevisionHealthState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding RevisionHealthState.

values

public static Collection values()

Gets known RevisionHealthState values.

Returns:

known RevisionHealthState values.

Applies to