|
Jive Forums API (5.5.8) Developer Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.base.event.LogEvent
public class LogEvent
A class for log events. This class will be passed to LogListeners whenever a log event is fired and contains all the pertinent information to the event.
| Field Summary | |
|---|---|
static int |
DEBUG_EVENT
Event type for whenever a debug log event occurs. |
static int |
ERROR_EVENT
Event type for whenever an error log event occurs. |
static int |
FATAL_EVENT
Event type for whenever a fatal log event occurs. |
static int |
INFO_EVENT
Event type for whenever a info log event occurs. |
static int |
WARN_EVENT
Event type for whenever a warn log event occurs. |
| Constructor Summary | |
|---|---|
LogEvent(int eventType,
java.util.Map params)
|
|
LogEvent(int eventType,
java.util.Map params,
java.lang.Throwable e,
java.lang.String message)
|
|
| Method Summary | |
|---|---|
java.util.Date |
getDate()
Returns the date (as a Date object) that the event was created. |
int |
getEventType()
Returns the event type corresponding to the event. |
java.lang.String |
getMessage()
|
java.util.Map |
getParams()
Returns a map of parameters which can be used to pass data to a listener. |
java.lang.Throwable |
getThrowable()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int FATAL_EVENT
public static final int ERROR_EVENT
public static final int WARN_EVENT
public static final int INFO_EVENT
public static final int DEBUG_EVENT
| Constructor Detail |
|---|
public LogEvent(int eventType,
java.util.Map params)
public LogEvent(int eventType,
java.util.Map params,
java.lang.Throwable e,
java.lang.String message)
| Method Detail |
|---|
public int getEventType()
JiveEvent
getEventType in interface JiveEventpublic java.util.Map getParams()
JiveEvent
getParams in interface JiveEventpublic java.lang.Throwable getThrowable()
public java.lang.String getMessage()
public java.util.Date getDate()
JiveEvent
getDate in interface JiveEvent
|
Jive Forums Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||