Class LogEntry
- java.lang.Object
-
- net.sourceforge.pmd.util.fxdesigner.app.LogEntry
-
- All Implemented Interfaces:
java.lang.Comparable<LogEntry>
public class LogEntry extends java.lang.Object implements java.lang.Comparable<LogEntry>
Log entry of anEventLogger.- Since:
- 6.0.0
- Author:
- Clément Fournier
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLogEntry.Category
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(LogEntry o)static <T> net.sourceforge.pmd.util.fxdesigner.app.LogEntry.LogEntryWithData<T>createDataEntry(T data, LogEntry.Category category, java.lang.String details)static LogEntrycreateInternalDebugEntry(java.lang.String shortMessage, java.lang.String details)static LogEntrycreateInternalExceptionEntry(java.lang.Throwable thrown)static LogEntrycreateUserExceptionEntry(java.lang.Throwable thrown, LogEntry.Category cat)static LogEntrycreateUserFlagEntry(LogEntry.Category flagCategory)Just for the flag categoriesLogEntry.Category.PARSE_OKandLogEntry.Category.XPATH_OK, which are not rendered in the log.LogEntry.CategorygetCategory()java.lang.StringgetDetails()java.lang.StringgetMessage()java.util.DategetTimestamp()booleanisWasExamined()voidsetExamined(boolean wasExamined)org.reactfx.value.Var<java.lang.Boolean>wasExaminedProperty()
-
-
-
Method Detail
-
isWasExamined
public boolean isWasExamined()
-
setExamined
public void setExamined(boolean wasExamined)
-
wasExaminedProperty
public org.reactfx.value.Var<java.lang.Boolean> wasExaminedProperty()
-
getMessage
public java.lang.String getMessage()
-
getCategory
public LogEntry.Category getCategory()
-
getTimestamp
public java.util.Date getTimestamp()
-
compareTo
public int compareTo(LogEntry o)
- Specified by:
compareToin interfacejava.lang.Comparable<LogEntry>
-
getDetails
public java.lang.String getDetails()
-
createUserExceptionEntry
public static LogEntry createUserExceptionEntry(java.lang.Throwable thrown, LogEntry.Category cat)
-
createUserFlagEntry
public static LogEntry createUserFlagEntry(LogEntry.Category flagCategory)
Just for the flag categoriesLogEntry.Category.PARSE_OKandLogEntry.Category.XPATH_OK, which are not rendered in the log.
-
createInternalExceptionEntry
public static LogEntry createInternalExceptionEntry(java.lang.Throwable thrown)
-
createInternalDebugEntry
public static LogEntry createInternalDebugEntry(java.lang.String shortMessage, java.lang.String details)
-
createDataEntry
public static <T> net.sourceforge.pmd.util.fxdesigner.app.LogEntry.LogEntryWithData<T> createDataEntry(T data, LogEntry.Category category, java.lang.String details)
-
-