AnomalyStatus Class

public final class AnomalyStatus
extends ExpandableStringEnum<AnomalyStatus>

anomaly status only return for alerting anomaly result.

Field Summary

Modifier and Type Field and Description
static final AnomalyStatus ACTIVE

Static value Active for AnomalyStatus.

static final AnomalyStatus RESOLVED

Static value Resolved for AnomalyStatus.

Constructor Summary

Constructor Description
AnomalyStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AnomalyStatus value.

Method Summary

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

Creates or finds a AnomalyStatus from its string representation.

static Collection<AnomalyStatus> values()

Gets known AnomalyStatus values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ACTIVE

public static final AnomalyStatus ACTIVE

Static value Active for AnomalyStatus.

RESOLVED

public static final AnomalyStatus RESOLVED

Static value Resolved for AnomalyStatus.

Constructor Details

AnomalyStatus

@Deprecated
public AnomalyStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AnomalyStatus value.

Method Details

fromString

public static AnomalyStatus fromString(String name)

Creates or finds a AnomalyStatus from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AnomalyStatus.

values

public static Collection values()

Gets known AnomalyStatus values.

Returns:

known AnomalyStatus values.

Applies to