public class StoredIncident extends SearchableEntity
Modifier and Type | Field and Description |
---|---|
static sirius.db.mixing.Mapping |
CATEGORY
Contains the category or logger name which logged the error.
|
static sirius.db.mixing.Mapping |
FIRST_OCCURRENCE
Contains the timestamp when the error first occured.
|
static sirius.db.mixing.Mapping |
LAST_OCCURRENCE
Contains the timestamp when the error last occured.
|
static sirius.db.mixing.Mapping |
LOCATION
Contains the code-location where the error occured.
|
static sirius.db.mixing.Mapping |
MDC
Contains the mapped diagnostic context, providing some insight how and why the error occured.
|
static sirius.db.mixing.Mapping |
MESSAGE
Contains the error message.
|
static sirius.db.mixing.Mapping |
NODE
Contains the name of the node on which the error occured.
|
static sirius.db.mixing.Mapping |
NUMBER_OF_OCCURRENCES
Contains the number of occurences between the firstOccurence and lastOccurence.
|
static sirius.db.mixing.Mapping |
STACK
Contains the exception stacktrace.
|
static sirius.db.mixing.Mapping |
USER
Contains the name of the user that was logged in while the error occured.
|
SEARCH_FIELD, SEARCHABLE_CONTENT
Constructor and Description |
---|
StoredIncident() |
Modifier and Type | Method and Description |
---|---|
String |
getCategory() |
LocalDateTime |
getFirstOccurrence() |
LocalDateTime |
getLastOccurrence() |
String |
getLocation() |
sirius.db.mixing.types.StringMap |
getMdc() |
String |
getMessage() |
String |
getNode() |
int |
getNumberOfOccurrences() |
String |
getStack() |
String |
getUser() |
void |
setCategory(String category) |
void |
setFirstOccurrence(LocalDateTime firstOccurrence) |
void |
setLastOccurrence(LocalDateTime lastOccurrence) |
void |
setLocation(String location) |
void |
setMessage(String message) |
void |
setNode(String node) |
void |
setNumberOfOccurrences(int numberOfOccurrences) |
void |
setStack(String stack) |
void |
setUser(String user) |
addContent, addContentAsTokens, getSearchableContent, getSearchField, setSearchableContent, updateSearchField
public static final sirius.db.mixing.Mapping MESSAGE
public static final sirius.db.mixing.Mapping CATEGORY
public static final sirius.db.mixing.Mapping NODE
public static final sirius.db.mixing.Mapping LOCATION
public static final sirius.db.mixing.Mapping STACK
public static final sirius.db.mixing.Mapping FIRST_OCCURRENCE
public static final sirius.db.mixing.Mapping LAST_OCCURRENCE
public static final sirius.db.mixing.Mapping NUMBER_OF_OCCURRENCES
public static final sirius.db.mixing.Mapping MDC
public static final sirius.db.mixing.Mapping USER
public String getMessage()
public void setMessage(String message)
public String getCategory()
public void setCategory(String category)
public String getNode()
public void setNode(String node)
public String getLocation()
public void setLocation(String location)
public String getStack()
public void setStack(String stack)
public LocalDateTime getFirstOccurrence()
public void setFirstOccurrence(LocalDateTime firstOccurrence)
public LocalDateTime getLastOccurrence()
public void setLastOccurrence(LocalDateTime lastOccurrence)
public int getNumberOfOccurrences()
public void setNumberOfOccurrences(int numberOfOccurrences)
public sirius.db.mixing.types.StringMap getMdc()
public String getUser()
public void setUser(String user)
Copyright © 2018. All rights reserved.