AlertSeverity Class

public final class AlertSeverity
extends ExpandableStringEnum<AlertSeverity>

Field Summary

Modifier and Type Field and Description
static final AlertSeverity HIGH

Static value High for AlertSeverity.

static final AlertSeverity INFORMATIONAL

Static value Informational for AlertSeverity.

static final AlertSeverity LOW

Static value Low for AlertSeverity.

static final AlertSeverity MEDIUM

Static value Medium for AlertSeverity.

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

Static value High for AlertSeverity.

INFORMATIONAL

public static final AlertSeverity INFORMATIONAL

Static value Informational for AlertSeverity.

LOW

public static final AlertSeverity LOW

Static value Low for AlertSeverity.

MEDIUM

public static final AlertSeverity MEDIUM

Static value Medium for AlertSeverity.

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

Gets known AlertSeverity values.

Returns:

known AlertSeverity values.

Applies to