public enum ProfilingLevel extends Enum<ProfilingLevel>
Enum Constant and Description |
---|
ARGUMENTS |
ENTRY_EXIT |
OFF |
Modifier and Type | Method and Description |
---|---|
static ProfilingLevel |
fromLoggerLevelType(LoggingLevelType level) |
String |
getLocalizationKey() |
static LoggingLevelType |
toLoggerLevelType(ProfilingLevel level) |
static ProfilingLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProfilingLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProfilingLevel OFF
public static final ProfilingLevel ENTRY_EXIT
public static final ProfilingLevel ARGUMENTS
public static ProfilingLevel[] values()
for (ProfilingLevel c : ProfilingLevel.values()) System.out.println(c);
public static ProfilingLevel valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String getLocalizationKey()
public static LoggingLevelType toLoggerLevelType(ProfilingLevel level)
public static ProfilingLevel fromLoggerLevelType(LoggingLevelType level)
Copyright © 2013 evolveum. All rights reserved.