AlertState Class

public final class AlertState
extends ExpandableStringEnum<AlertState>

Defines values for AlertState.

Field Summary

Modifier and Type Field and Description
static final AlertState ACKNOWLEDGED

Static value Acknowledged for AlertState.

static final AlertState CLOSED

Static value Closed for AlertState.

static final AlertState NEW

Static value New for AlertState.

Constructor Summary

Constructor Description
AlertState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AlertState value.

Method Summary

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

Creates or finds a AlertState from its string representation.

static Collection<AlertState> values()

Gets known AlertState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ACKNOWLEDGED

public static final AlertState ACKNOWLEDGED

Static value Acknowledged for AlertState.

CLOSED

public static final AlertState CLOSED

Static value Closed for AlertState.

NEW

public static final AlertState NEW

Static value New for AlertState.

Constructor Details

AlertState

@Deprecated
public AlertState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AlertState value.

Method Details

fromString

public static AlertState fromString(String name)

Creates or finds a AlertState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AlertState.

values

public static Collection<AlertState> values()

Gets known AlertState values.

Returns:

known AlertState values.

Applies to