AlertSeverity Class

public final class AlertSeverity
extends ExpandableStringEnum<AlertSeverity>

Field Summary

Modifier and Type Field and Description
static final AlertSeverity HIGH

High.

static final AlertSeverity INFORMATIONAL

Informational.

static final AlertSeverity LOW

Low.

static final AlertSeverity MEDIUM

Medium.

Constructor Summary

Constructor Description
AlertSeverity()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AlertSeverity value.

Method Summary

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

Creates or finds a AlertSeverity from its string representation.

static Collection<AlertSeverity> values()

Gets known AlertSeverity values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

HIGH

public static final AlertSeverity HIGH

High.

INFORMATIONAL

public static final AlertSeverity INFORMATIONAL

Informational.

LOW

public static final AlertSeverity LOW

Low.

MEDIUM

public static final AlertSeverity MEDIUM

Medium.

Constructor Details

AlertSeverity

@Deprecated
public AlertSeverity()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AlertSeverity value.

Method Details

fromString

public static AlertSeverity fromString(String name)

Creates or finds a AlertSeverity from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AlertSeverity.

values

public static Collection<AlertSeverity> values()

Gets known AlertSeverity values.

Returns:

known AlertSeverity values.

Applies to