AlertsState Class

public final class AlertsState
extends ExpandableStringEnum<AlertsState>

Defines values for AlertsState.

Field Summary

Modifier and Type Field and Description
static final AlertsState DISABLED

Static value Disabled for AlertsState.

static final AlertsState ENABLED

Static value Enabled for AlertsState.

Constructor Summary

Constructor Description
AlertsState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AlertsState value.

Method Summary

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

Creates or finds a AlertsState from its string representation.

static Collection<AlertsState> values()

Gets known AlertsState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISABLED

public static final AlertsState DISABLED

Static value Disabled for AlertsState.

ENABLED

public static final AlertsState ENABLED

Static value Enabled for AlertsState.

Constructor Details

AlertsState

@Deprecated
public AlertsState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AlertsState value.

Method Details

fromString

public static AlertsState fromString(String name)

Creates or finds a AlertsState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AlertsState.

values

public static Collection<AlertsState> values()

Gets known AlertsState values.

Returns:

known AlertsState values.

Applies to