Level Class

public final class Level
extends ExpandableStringEnum<Level>

Defines values for Level.

Field Summary

Modifier and Type Field and Description
static final Level IMPORTANT

Static value Important for Level.

static final Level NOISY

Static value Noisy for Level.

static final Level NORMAL

Static value Normal for Level.

Constructor Summary

Constructor Description
Level()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Level value.

Method Summary

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

Creates or finds a Level from its string representation.

static Collection<Level> values()

Gets known Level values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

IMPORTANT

public static final Level IMPORTANT

Static value Important for Level.

NOISY

public static final Level NOISY

Static value Noisy for Level.

NORMAL

public static final Level NORMAL

Static value Normal for Level.

Constructor Details

Level

@Deprecated
public Level()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Level value.

Method Details

fromString

public static Level fromString(String name)

Creates or finds a Level from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding Level.

values

public static Collection<Level> values()

Gets known Level values.

Returns:

known Level values.

Applies to