java.io.Serializable
public final class EventSeverity
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field | Description |
---|---|---|
static EventSeverity |
ERROR |
error level
|
static EventSeverity |
FATAL |
fatal error
|
static EventSeverity |
INFO |
info level
|
static EventSeverity |
WARN |
warning level
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getName() |
|
java.lang.String |
toString() |
|
static EventSeverity |
valueOf(java.lang.String name) |
Returns the enumeration/singleton object based on its name.
|
public static final EventSeverity INFO
public static final EventSeverity WARN
public static final EventSeverity ERROR
public static final EventSeverity FATAL
public java.lang.String getName()
public static EventSeverity valueOf(java.lang.String name)
name
- the name of the enumeration valuepublic java.lang.String toString()
toString
in class java.lang.Object
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.