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

An alert which doesn't specify a value is assigned the status 'Active'.

static final AlertStatus DISMISSED

Alert dismissed as false positive.

static final AlertStatus IN_PROGRESS

An alert which is in handling state.

static final AlertStatus RESOLVED

Alert closed after handling.

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

An alert which doesn't specify a value is assigned the status 'Active'.

DISMISSED

public static final AlertStatus DISMISSED

Alert dismissed as false positive.

IN_PROGRESS

public static final AlertStatus IN_PROGRESS

An alert which is in handling state.

RESOLVED

public static final AlertStatus RESOLVED

Alert closed after handling.

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<AlertStatus> values()

Gets known AlertStatus values.

Returns:

known AlertStatus values.

Applies to