Compartir a través de


Level Class

public final class Level
extends ExpandableStringEnum<Level>

Denotes the additional response level.

Field Summary

Modifier and Type Field and Description
static final Level ERROR

Static value Error for Level.

static final Level INFO

Static value Info for Level.

static final Level WARNING

Static value Warning 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

ERROR

public static final Level ERROR

Static value Error for Level.

INFO

public static final Level INFO

Static value Info for Level.

WARNING

public static final Level WARNING

Static value Warning 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