org.shiftone.memento.view
Class BGTaskListener
java.lang.Object
org.shiftone.memento.view.BGTaskListener
- All Implemented Interfaces:
- BGPerformListener
- public class BGTaskListener
- extends java.lang.Object
- implements BGPerformListener
Field Summary |
static org.apache.log4j.Logger |
LOG
|
(package private) int |
taskNumber
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.apache.log4j.Logger LOG
taskNumber
int taskNumber
getTaskListener
public static BGTaskListener getTaskListener(BGTaskSet taskSet)
taskSetStarted
public void taskSetStarted(int totalTasks)
- Specified by:
taskSetStarted
in interface BGPerformListener
taskCompleted
public void taskCompleted(BGTask task)
- Specified by:
taskCompleted
in interface BGPerformListener
taskFailure
public boolean taskFailure(BGTask task)
- Specified by:
taskFailure
in interface BGPerformListener
taskSetCompleted
public void taskSetCompleted()
- Specified by:
taskSetCompleted
in interface BGPerformListener
taskSetInterrupted
public void taskSetInterrupted()
- Specified by:
taskSetInterrupted
in interface BGPerformListener