Share via


ElevationLevel Class

public final class ElevationLevel
extends ExpandableStringEnum<ElevationLevel>

ElevationLevel enums.

Field Summary

Modifier and Type Field and Description
static final ElevationLevel ADMIN

The user is a user with elevated access and operates with full Administrator permissions.

static final ElevationLevel NON_ADMIN

The user is a standard user without elevated access.

Constructor Summary

Constructor Description
ElevationLevel()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ElevationLevel value.

Method Summary

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

Creates or finds a ElevationLevel from its string representation.

static Collection<ElevationLevel> values()

Gets known ElevationLevel values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ADMIN

public static final ElevationLevel ADMIN

The user is a user with elevated access and operates with full Administrator permissions.

NON_ADMIN

public static final ElevationLevel NON_ADMIN

The user is a standard user without elevated access.

Constructor Details

ElevationLevel

@Deprecated
public ElevationLevel()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ElevationLevel value.

Method Details

fromString

public static ElevationLevel fromString(String name)

Creates or finds a ElevationLevel from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ElevationLevel.

values

public static Collection<ElevationLevel> values()

Gets known ElevationLevel values.

Returns:

known ElevationLevel values.

Applies to