Partager via


AnomalySeverity Class

public final class AnomalySeverity
extends ExpandableStringEnum<AnomalySeverity>

Defines values for AnomalySeverity.

Field Summary

Modifier and Type Field and Description
static final AnomalySeverity HIGH

Static value High for AnomalySeverity.

static final AnomalySeverity LOW

Static value Low for AnomalySeverity.

static final AnomalySeverity MEDIUM

Static value Medium for AnomalySeverity.

Constructor Summary

Constructor Description
AnomalySeverity()

Deprecated

Use the fromString(String name) factory method.

Constructs a AnomalySeverity object.

Method Summary

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

Creates or finds a AnomalySeverity from its string representation.

static Collection<AnomalySeverity> values()

Returns the known AnomalySeverity values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

HIGH

public static final AnomalySeverity HIGH

Static value High for AnomalySeverity.

LOW

public static final AnomalySeverity LOW

Static value Low for AnomalySeverity.

MEDIUM

public static final AnomalySeverity MEDIUM

Static value Medium for AnomalySeverity.

Constructor Details

AnomalySeverity

@Deprecated
public AnomalySeverity()

Deprecated

Use the fromString(String name) factory method.

Constructs a AnomalySeverity object.

Method Details

fromString

public static AnomalySeverity fromString(String name)

Creates or finds a AnomalySeverity from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AnomalySeverity.

values

public static Collection values()

Returns the known AnomalySeverity values.

Returns:

known AnomalySeverity values.

Applies to