ch.braincell.stickbackup.gui
Class BackupController
java.lang.Object
ch.braincell.stickbackup.gui.BackupController
- All Implemented Interfaces:
- ProcessListener
public class BackupController
- extends java.lang.Object
- implements ProcessListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
frame
protected MainJFrame frame
tasks
protected BackupTask tasks
backupThread
protected java.lang.Thread backupThread
backupPrepared
protected volatile boolean backupPrepared
backupFinished
protected volatile boolean backupFinished
config
protected Config config
BackupController
public BackupController(MainJFrame frame)
onInit
public void onInit()
onCancel
public void onCancel()
onContinue
public void onContinue()
resetBackup
public void resetBackup()
prepareBackup
protected void prepareBackup()
processBackup
protected void processBackup()
onException
public void onException(java.lang.Throwable exception)
- Description copied from interface:
ProcessListener
- Will be used if an exception happens.
- Specified by:
onException
in interface ProcessListener
- Parameters:
exception
- exception be thrown.
onProcess
public void onProcess(Process process,
java.io.File... files)
- Description copied from interface:
ProcessListener
- Indicates on which files the process is working on.
- Specified by:
onProcess
in interface ProcessListener
- Parameters:
process
- process state.files
- files working on in the process. These are up to two files:
depending on the process it is source and destination / source /
destination.
Copyright © 2007. All Rights Reserved.