Package com.atlassian.jira.upgrade
Class LogEvent
java.lang.Object
com.atlassian.johnson.event.Event
com.atlassian.jira.upgrade.LogEvent
public class LogEvent
extends com.atlassian.johnson.event.Event
Event subclass that intercepts the
Event.setProgress(int)
in order to provide some status to
the log file (using log4j).-
Constructor Summary
Constructors -
Method Summary
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, toString
-
Constructor Details
-
LogEvent
Constructor- Parameters:
log
- a logger that is used for outputting reindex progress. Must not be null- Throws:
NullPointerException
- if the logger is null
-
-
Method Details
-
setProgress
public void setProgress(int progress) - Overrides:
setProgress
in classcom.atlassian.johnson.event.Event
-