ReportedSeverity Class

public final class ReportedSeverity
extends ExpandableStringEnum<ReportedSeverity>

Assessed alert severity.

Field Summary

Modifier and Type Field and Description
static final ReportedSeverity HIGH

High.

static final ReportedSeverity INFORMATIONAL

Informational.

static final ReportedSeverity LOW

Low.

static final ReportedSeverity MEDIUM

Medium.

Constructor Summary

Constructor Description
ReportedSeverity()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ReportedSeverity value.

Method Summary

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

Creates or finds a ReportedSeverity from its string representation.

static Collection<ReportedSeverity> values()

Gets known ReportedSeverity values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

HIGH

public static final ReportedSeverity HIGH

High.

INFORMATIONAL

public static final ReportedSeverity INFORMATIONAL

Informational.

LOW

public static final ReportedSeverity LOW

Low.

MEDIUM

public static final ReportedSeverity MEDIUM

Medium.

Constructor Details

ReportedSeverity

@Deprecated
public ReportedSeverity()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ReportedSeverity value.

Method Details

fromString

public static ReportedSeverity fromString(String name)

Creates or finds a ReportedSeverity from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ReportedSeverity.

values

public static Collection<ReportedSeverity> values()

Gets known ReportedSeverity values.

Returns:

known ReportedSeverity values.

Applies to