Enum TracingLevelType
- java.lang.Object
-
- java.lang.Enum<TracingLevelType>
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.TracingLevelType
-
- All Implemented Interfaces:
Serializable
,Comparable<TracingLevelType>
public enum TracingLevelType extends Enum<TracingLevelType>
Java class for TracingLevelType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TracingLevelType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="off"/> <enumeration value="minimal"/> <enumeration value="normal"/> <enumeration value="detailed"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DETAILED
Detailed tracing, designed to troubleshoot a specific component.MINIMAL
Only minimal tracing is done.NORMAL
Standard tracing, designed to provide as much information as practically possible for general troubleshooting.OFF
There is no tracing at this trace point.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TracingLevelType
fromValue(String v)
String
value()
static TracingLevelType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TracingLevelType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OFF
public static final TracingLevelType OFF
There is no tracing at this trace point. TraceType is simply not created.
-
MINIMAL
public static final TracingLevelType MINIMAL
Only minimal tracing is done. This level is meant to provide information needed to understand what's going on at particular tracing point, but with none to minimal performance penalty: typically when doing performance analysis. So information that is stored should be quickly obtainable and should not take too much space.
-
NORMAL
public static final TracingLevelType NORMAL
Standard tracing, designed to provide as much information as practically possible for general troubleshooting. It is accepted that it comes with a performance penalty e.g. when serializing model context at many places.
-
DETAILED
public static final TracingLevelType DETAILED
Detailed tracing, designed to troubleshoot a specific component. This is a level that would produce over-sized traces when enabled globally.
-
-
Method Detail
-
values
public static TracingLevelType[] 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 (TracingLevelType c : TracingLevelType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TracingLevelType 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
-
value
public String value()
-
fromValue
public static TracingLevelType fromValue(String v)
-
-