Enum ProfilingMode
- java.lang.Object
-
- java.lang.Enum<ProfilingMode>
-
- com.evolveum.midpoint.common.configuration.api.ProfilingMode
-
- All Implemented Interfaces:
Serializable
,Comparable<ProfilingMode>
public enum ProfilingMode extends Enum<ProfilingMode>
EXPERIMENTAL
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
ON
public static final ProfilingMode ON
Profiling is enabled and is driven by setting logging levels via system configuration object. This is the same as profilingEnabled = true in pre-4.0 versions.
-
OFF
public static final ProfilingMode OFF
Profiling is disabled. MidpointInterceptor is not loaded. This is the same as profilingEnabled = false in pre-4.0 versions.
-
DYNAMIC
public static final ProfilingMode DYNAMIC
Profiling is enabled/disabled on demand. MidpointInterceptor is loaded and ready to use. Profiling is started either on request of midPoint code (see e.g. profilingObjectIntervalStart/profilingObjectIntervalLength extension properties) or traditionally by setting logging levels via system configuration object.
-
-
Method Detail
-
values
public static ProfilingMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ProfilingMode c : ProfilingMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProfilingMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromValue
public static ProfilingMode fromValue(String value)
-
getValue
public String getValue()
-
-