public enum ProfilingMode extends Enum<ProfilingMode>
Enum Constant and Description |
---|
DYNAMIC
Profiling is enabled/disabled on demand.
|
OFF
Profiling is disabled.
|
ON
Profiling is enabled and is driven by setting logging levels via system configuration object.
|
Modifier and Type | Method and Description |
---|---|
static ProfilingMode |
fromValue(String value) |
String |
getValue() |
static ProfilingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProfilingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProfilingMode ON
public static final ProfilingMode OFF
public static final ProfilingMode DYNAMIC
public static ProfilingMode[] values()
for (ProfilingMode c : ProfilingMode.values()) System.out.println(c);
public static ProfilingMode 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 static ProfilingMode fromValue(String value)
public String getValue()
Copyright © 2019 Evolveum. All rights reserved.