Enum LogEntry.Category
- java.lang.Object
-
- java.lang.Enum<LogEntry.Category>
-
- net.sourceforge.pmd.util.fxdesigner.app.services.LogEntry.Category
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<LogEntry.Category>
- Enclosing class:
- LogEntry
public static enum LogEntry.Category extends java.lang.Enum<LogEntry.Category>
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description java.lang.Stringname
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisInternal()Internal categories are only logged if the app is in developer mode.booleanisUserException()java.lang.StringtoString()static LogEntry.CategoryvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static LogEntry.Category[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PARSE_EXCEPTION
public static final LogEntry.Category PARSE_EXCEPTION
-
TYPERESOLUTION_EXCEPTION
public static final LogEntry.Category TYPERESOLUTION_EXCEPTION
-
QNAME_RESOLUTION_EXCEPTION
public static final LogEntry.Category QNAME_RESOLUTION_EXCEPTION
-
SYMBOL_FACADE_EXCEPTION
public static final LogEntry.Category SYMBOL_FACADE_EXCEPTION
-
XPATH_EVALUATION_EXCEPTION
public static final LogEntry.Category XPATH_EVALUATION_EXCEPTION
-
TEST_LOADING_EXCEPTION
public static final LogEntry.Category TEST_LOADING_EXCEPTION
-
TEST_EXPORT_EXCEPTION
public static final LogEntry.Category TEST_EXPORT_EXCEPTION
-
PARSE_OK
public static final LogEntry.Category PARSE_OK
-
XPATH_OK
public static final LogEntry.Category XPATH_OK
-
INTERNAL
public static final LogEntry.Category INTERNAL
-
SERVICE_REGISTERING
public static final LogEntry.Category SERVICE_REGISTERING
-
RESOURCE_MANAGEMENT
public static final LogEntry.Category RESOURCE_MANAGEMENT
-
SELECTION_EVENT_TRACING
public static final LogEntry.Category SELECTION_EVENT_TRACING
-
XPATH_EVENT_FORWARDING
public static final LogEntry.Category XPATH_EVENT_FORWARDING
-
TEST_LOADING_EVENT
public static final LogEntry.Category TEST_LOADING_EVENT
-
-
Method Detail
-
values
public static LogEntry.Category[] 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 (LogEntry.Category c : LogEntry.Category.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LogEntry.Category valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<LogEntry.Category>
-
isInternal
public boolean isInternal()
Internal categories are only logged if the app is in developer mode.
-
isUserException
public boolean isUserException()
-
-