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 class
LogEntry.Category
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(LogEntry o)
static <T> net.sourceforge.pmd.util.fxdesigner.app.LogEntry.LogEntryWithData<T>
createDataEntry(T data, LogEntry.Category category, java.lang.String details)
static LogEntry
createInternalDebugEntry(java.lang.String shortMessage, java.lang.String details)
static LogEntry
createInternalExceptionEntry(java.lang.Throwable thrown)
static LogEntry
createUserExceptionEntry(java.lang.Throwable thrown, LogEntry.Category cat)
static LogEntry
createUserFlagEntry(LogEntry.Category flagCategory)
Just for the flag categoriesLogEntry.Category.PARSE_OK
andLogEntry.Category.XPATH_OK
, which are not rendered in the log.LogEntry.Category
getCategory()
java.lang.String
getDetails()
java.lang.String
getMessage()
java.util.Date
getTimestamp()
boolean
isWasExamined()
void
setExamined(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:
compareTo
in 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_OK
andLogEntry.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)
-
-