UserImpact Class

public final class UserImpact
extends ExpandableStringEnum<UserImpact>

The user impact of the assessment.

Field Summary

Modifier and Type Field and Description
static final UserImpact HIGH

Static value High for UserImpact.

static final UserImpact LOW

Static value Low for UserImpact.

static final UserImpact MODERATE

Static value Moderate for UserImpact.

Constructor Summary

Constructor Description
UserImpact()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of UserImpact value.

Method Summary

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

Creates or finds a UserImpact from its string representation.

static Collection<UserImpact> values()

Gets known UserImpact values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

HIGH

public static final UserImpact HIGH

Static value High for UserImpact.

LOW

public static final UserImpact LOW

Static value Low for UserImpact.

MODERATE

public static final UserImpact MODERATE

Static value Moderate for UserImpact.

Constructor Details

UserImpact

@Deprecated
public UserImpact()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of UserImpact value.

Method Details

fromString

public static UserImpact fromString(String name)

Creates or finds a UserImpact from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding UserImpact.

values

public static Collection values()

Gets known UserImpact values.

Returns:

known UserImpact values.

Applies to