|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.johnson.event.Event com.atlassian.jira.upgrade.LogEvent
public class LogEvent
Event subclass that intercepts the Event.setProgress(int)
in order to provide some status to
the log file (using log4j).
Constructor Summary | |
---|---|
LogEvent(org.apache.log4j.Logger log,
String type,
String description,
String message)
Constructor |
Method Summary | |
---|---|
void |
setProgress(int progress)
|
Methods inherited from class com.atlassian.johnson.event.Event |
---|
addAttribute, equals, getAttribute, getAttributes, getDate, getDesc, getException, getKey, getLevel, getProgress, hashCode, hasProgress, setDate, setDesc, setException, setKey, setLevel, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LogEvent(org.apache.log4j.Logger log, String type, String description, String message)
log
- a logger that is used for outputting reindex progress. Must not be null
NullPointerException
- if the logger is nullMethod Detail |
---|
public void setProgress(int progress)
setProgress
in class com.atlassian.johnson.event.Event
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |