ReportedSeverity Class

public final class ReportedSeverity
extends ExpandableStringEnum<ReportedSeverity>

Assessed alert severity.

Field Summary

Modifier and Type Field and Description
static final ReportedSeverity HIGH

Static value High for ReportedSeverity.

static final ReportedSeverity INFORMATIONAL

Static value Informational for ReportedSeverity.

static final ReportedSeverity LOW

Static value Low for ReportedSeverity.

static final ReportedSeverity MEDIUM

Static value Medium for ReportedSeverity.

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

Static value High for ReportedSeverity.

INFORMATIONAL

public static final ReportedSeverity INFORMATIONAL

Static value Informational for ReportedSeverity.

LOW

public static final ReportedSeverity LOW

Static value Low for ReportedSeverity.

MEDIUM

public static final ReportedSeverity MEDIUM

Static value Medium for ReportedSeverity.

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

Gets known ReportedSeverity values.

Returns:

known ReportedSeverity values.

Applies to