AlertStatus Class

public final class AlertStatus
extends ExpandableStringEnum<AlertStatus>

The life cycle status of the alert.

Field Summary

Modifier and Type Field and Description
static final AlertStatus ACTIVE

Static value Active for AlertStatus.

static final AlertStatus DISMISSED

Static value Dismissed for AlertStatus.

static final AlertStatus IN_PROGRESS

Static value InProgress for AlertStatus.

static final AlertStatus RESOLVED

Static value Resolved for AlertStatus.

Constructor Summary

Constructor Description
AlertStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AlertStatus value.

Method Summary

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

Creates or finds a AlertStatus from its string representation.

static Collection<AlertStatus> values()

Gets known AlertStatus values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ACTIVE

public static final AlertStatus ACTIVE

Static value Active for AlertStatus.

DISMISSED

public static final AlertStatus DISMISSED

Static value Dismissed for AlertStatus.

IN_PROGRESS

public static final AlertStatus IN_PROGRESS

Static value InProgress for AlertStatus.

RESOLVED

public static final AlertStatus RESOLVED

Static value Resolved for AlertStatus.

Constructor Details

AlertStatus

@Deprecated
public AlertStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AlertStatus value.

Method Details

fromString

public static AlertStatus fromString(String name)

Creates or finds a AlertStatus from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AlertStatus.

values

public static Collection values()

Gets known AlertStatus values.

Returns:

known AlertStatus values.

Applies to