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

Get notifications on new attack paths with Critical risk level.

static final MinimalRiskLevel HIGH

Get notifications on new attack paths with High or Critical risk level.

static final MinimalRiskLevel LOW

Get notifications on new attach paths with Low, Medium, High or Critical risk level.

static final MinimalRiskLevel MEDIUM

Get notifications on new attach paths with Medium, High or Critical risk level.

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

Get notifications on new attack paths with Critical risk level.

HIGH

public static final MinimalRiskLevel HIGH

Get notifications on new attack paths with High or Critical risk level.

LOW

public static final MinimalRiskLevel LOW

Get notifications on new attach paths with Low, Medium, High or Critical risk level.

MEDIUM

public static final MinimalRiskLevel MEDIUM

Get notifications on new attach paths with Medium, High or Critical risk level.

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

Gets known MinimalRiskLevel values.

Returns:

known MinimalRiskLevel values.

Applies to