public static enum TweetyConfiguration.LogLevel extends java.lang.Enum<TweetyConfiguration.LogLevel>
Enum Constant and Description |
---|
DEBUG |
ERROR |
FATAL |
INFO |
TRACE |
WARN |
Modifier and Type | Field and Description |
---|---|
private int |
levelAsInt
The log level as integer
|
private java.lang.String |
levelAsString
The log level as string
|
Modifier and Type | Method and Description |
---|---|
static TweetyConfiguration.LogLevel |
getLogLevel(java.lang.String s)
Returns the log level described by the given string.
|
int |
levelAsInt()
Returns the log level as integer
|
java.lang.String |
levelAsString()
Returns the log level as string
|
static TweetyConfiguration.LogLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TweetyConfiguration.LogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TweetyConfiguration.LogLevel TRACE
public static final TweetyConfiguration.LogLevel DEBUG
public static final TweetyConfiguration.LogLevel INFO
public static final TweetyConfiguration.LogLevel WARN
public static final TweetyConfiguration.LogLevel ERROR
public static final TweetyConfiguration.LogLevel FATAL
private final int levelAsInt
private final java.lang.String levelAsString
public static TweetyConfiguration.LogLevel[] values()
for (TweetyConfiguration.LogLevel c : TweetyConfiguration.LogLevel.values()) System.out.println(c);
public static TweetyConfiguration.LogLevel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int levelAsInt()
public java.lang.String levelAsString()
public static TweetyConfiguration.LogLevel getLogLevel(java.lang.String s)
s
- a string.