MinimalSeverity Class

public final class MinimalSeverity
extends ExpandableStringEnum<MinimalSeverity>

Defines the minimal alert severity which will be sent as email notifications.

Field Summary

Modifier and Type Field and Description
static final MinimalSeverity HIGH

Get notifications on new alerts with High severity.

static final MinimalSeverity LOW

Get notifications on new alerts with Low, Medium or High severity.

static final MinimalSeverity MEDIUM

Get notifications on new alerts with Medium or High severity.

Constructor Summary

Constructor Description
MinimalSeverity()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of MinimalSeverity value.

Method Summary

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

Creates or finds a MinimalSeverity from its string representation.

static Collection<MinimalSeverity> values()

Gets known MinimalSeverity values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

HIGH

public static final MinimalSeverity HIGH

Get notifications on new alerts with High severity.

LOW

public static final MinimalSeverity LOW

Get notifications on new alerts with Low, Medium or High severity.

MEDIUM

public static final MinimalSeverity MEDIUM

Get notifications on new alerts with Medium or High severity.

Constructor Details

MinimalSeverity

@Deprecated
public MinimalSeverity()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of MinimalSeverity value.

Method Details

fromString

public static MinimalSeverity fromString(String name)

Creates or finds a MinimalSeverity from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding MinimalSeverity.

values

public static Collection<MinimalSeverity> values()

Gets known MinimalSeverity values.

Returns:

known MinimalSeverity values.

Applies to