MinimalRiskLevel Class

public final class MinimalRiskLevel
extends ExpandableStringEnum<MinimalRiskLevel>

Defines the minimal attack path risk level which will be sent as email notifications.

Field Summary

Modifier and Type Field and Description
static final MinimalRiskLevel CRITICAL

Static value Critical for MinimalRiskLevel.

static final MinimalRiskLevel HIGH

Static value High for MinimalRiskLevel.

static final MinimalRiskLevel LOW

Static value Low for MinimalRiskLevel.

static final MinimalRiskLevel MEDIUM

Static value Medium for MinimalRiskLevel.

Constructor Summary

Constructor Description
MinimalRiskLevel()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of MinimalRiskLevel value.

Method Summary

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

Creates or finds a MinimalRiskLevel from its string representation.

static Collection<MinimalRiskLevel> values()

Gets known MinimalRiskLevel values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CRITICAL

public static final MinimalRiskLevel CRITICAL

Static value Critical for MinimalRiskLevel.

HIGH

public static final MinimalRiskLevel HIGH

Static value High for MinimalRiskLevel.

LOW

public static final MinimalRiskLevel LOW

Static value Low for MinimalRiskLevel.

MEDIUM

public static final MinimalRiskLevel MEDIUM

Static value Medium for MinimalRiskLevel.

Constructor Details

MinimalRiskLevel

@Deprecated
public MinimalRiskLevel()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of MinimalRiskLevel value.

Method Details

fromString

public static MinimalRiskLevel fromString(String name)

Creates or finds a MinimalRiskLevel from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding MinimalRiskLevel.

values

public static Collection values()

Gets known MinimalRiskLevel values.

Returns:

known MinimalRiskLevel values.

Applies to