com.application.areca.launcher.tui
Class LoggerUserInformationChannel

java.lang.Object
  extended by com.application.areca.launcher.AbstractInformationChannel
      extended by 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

Field Summary
protected  boolean displayThreadName
           
protected  int previousProgress
           
protected  boolean running
           
protected  Logger userLogger
           
 
Fields inherited from class com.application.areca.launcher.AbstractInformationChannel
taskMonitor
 
Constructor Summary
LoggerUserInformationChannel(boolean displayThreadName)
           
 
Method Summary
 void cancellableChanged(TaskMonitor task)
           
 void cancelRequested(TaskMonitor task)
           
 void completionChanged(TaskMonitor task)
           
 void error(java.lang.String info)
           
 void pauseRequested(TaskMonitor task)
           
 void print(java.lang.String info)
           
 void reset()
           
 void startRunning()
           
 void stopRunning()
           
 void updateCurrentTask(long taskindex, long taskCount, java.lang.String taskDescription)
           
 void updateProgress(double percent)
           
 void warn(java.lang.String info)
           
 
Methods inherited from class com.application.areca.launcher.AbstractInformationChannel
getTaskMonitor, setTaskMonitor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.application.areca.UserInformationChannel
getTaskMonitor, setTaskMonitor
 

Field Detail

userLogger

protected Logger userLogger

running

protected boolean running

previousProgress

protected int previousProgress

displayThreadName

protected boolean displayThreadName
Constructor Detail

LoggerUserInformationChannel

public LoggerUserInformationChannel(boolean displayThreadName)
Method Detail

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