net.sf.jfilesync.engine.worker
Class PermissionsWorker
java.lang.Object
java.lang.Thread
net.sf.gnocchi.GWorker
net.sf.jfilesync.engine.worker.PermissionsWorker
- All Implemented Interfaces:
- java.lang.Runnable, net.sf.gnocchi.GWorkerListener, TAbstractGUIElementListener
public class PermissionsWorker
- extends net.sf.gnocchi.GWorker
- implements net.sf.gnocchi.GWorkerListener, TAbstractGUIElementListener
| Nested classes/interfaces inherited from class java.lang.Thread |
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Fields inherited from class net.sf.gnocchi.GWorker |
STATE_DIED, STATE_DONE, STATE_INTERRUPTED, STATE_READY, STATE_RUNNING |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Methods inherited from class net.sf.gnocchi.GWorker |
addObserver, cancel, customCancel, getException, getObserver, getWorkerState, hasDied, isCancelled, isDone, isFinished, isRunning, run, setDied |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
parent
private final java.awt.Component parent
con
private final AbstractConnectionProxy con
files
private final TFileProperties[] files
dir_perm
private final int dir_perm
file_perm
private final int file_perm
recursive
private final boolean recursive
details
private final ConnectionDetails details
abstractGuiElement
private TAbstractWorkerGUIElement abstractGuiElement
workerObserver
private net.sf.gnocchi.GWorkerObserver workerObserver
LOGGER
private static final java.util.logging.Logger LOGGER
PermissionsWorker
public PermissionsWorker(java.awt.Component parent,
AbstractConnectionProxy connection,
ConnectionDetails details,
TFileProperties[] files,
int dir_perm,
int file_perm,
boolean recursive)
task
public void task()
throws java.lang.Exception
- Specified by:
task in class net.sf.gnocchi.GWorker
- Throws:
java.lang.Exception
changePermissions
protected void changePermissions(TFileProperties[] files)
construct
public net.sf.gnocchi.GWorkerEvent construct()
- Specified by:
construct in class net.sf.gnocchi.GWorker
workerDone
public void workerDone(net.sf.gnocchi.GWorkerEvent e)
- Specified by:
workerDone in interface net.sf.gnocchi.GWorkerListener
workerCancelled
public void workerCancelled(net.sf.gnocchi.GWorkerEvent e)
- Specified by:
workerCancelled in interface net.sf.gnocchi.GWorkerListener
workerDied
public void workerDied(net.sf.gnocchi.GWorkerEvent e)
- Specified by:
workerDied in interface net.sf.gnocchi.GWorkerListener
updateModel
public void updateModel(net.sf.gnocchi.GWorkerEvent e)
- Specified by:
updateModel in interface net.sf.gnocchi.GWorkerListener
cancelClicked
public void cancelClicked(TAbstractDialogEvent e)
- Specified by:
cancelClicked in interface TAbstractGUIElementListener