com.application.areca.launcher.tui
Class LoggerUserInformationChannel
java.lang.Object
com.application.areca.launcher.AbstractInformationChannel
com.application.areca.launcher.tui.LoggerUserInformationChannel
- All Implemented Interfaces:
- UserInformationChannel, TaskMonitorListener
public class LoggerUserInformationChannel
- extends AbstractInformationChannel
- implements UserInformationChannel
- Author:
- Olivier PETRUCCI
Areca Build ID : 7299034069467778562
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
userLogger
protected Logger userLogger
running
protected boolean running
previousProgress
protected int previousProgress
displayThreadName
protected boolean displayThreadName
LoggerUserInformationChannel
public LoggerUserInformationChannel(boolean displayThreadName)
print
public void print(java.lang.String info)
- Specified by:
print
in interface UserInformationChannel
warn
public void warn(java.lang.String info)
- Specified by:
warn
in interface UserInformationChannel
error
public void error(java.lang.String info)
- Specified by:
error
in interface UserInformationChannel
updateProgress
public void updateProgress(double percent)
startRunning
public void startRunning()
- Specified by:
startRunning
in interface UserInformationChannel
stopRunning
public void stopRunning()
- Specified by:
stopRunning
in interface UserInformationChannel
reset
public void reset()
updateCurrentTask
public void updateCurrentTask(long taskindex,
long taskCount,
java.lang.String taskDescription)
- Specified by:
updateCurrentTask
in interface UserInformationChannel
pauseRequested
public void pauseRequested(TaskMonitor task)
- Specified by:
pauseRequested
in interface TaskMonitorListener
completionChanged
public void completionChanged(TaskMonitor task)
- Specified by:
completionChanged
in interface TaskMonitorListener
cancellableChanged
public void cancellableChanged(TaskMonitor task)
- Specified by:
cancellableChanged
in interface TaskMonitorListener
cancelRequested
public void cancelRequested(TaskMonitor task)
- Specified by:
cancelRequested
in interface TaskMonitorListener