|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CopyJobSignals
Method Summary | |
---|---|
void |
copying(Job job,
KURL from,
KURL to)
The job is copying a file or directory. |
void |
copyingDone(Job job,
KURL from,
KURL to,
boolean directory,
boolean renamed)
The job emits this signal when copying or moving a file or directory successfully finished. |
void |
copyingLinkDone(Job job,
KURL from,
java.lang.String target,
KURL to)
The job is copying or moving a symbolic link, that points to target. |
void |
creatingDir(Job job,
KURL dir)
The job is creating the directory dir. |
void |
linking(Job job,
java.lang.String target,
KURL to)
The job is creating a symbolic link. |
void |
moving(Job job,
KURL from,
KURL to)
The job is moving a file or directory. |
void |
processedDirs(Job job,
long dirs)
Sends the number of processed directories. |
void |
processedFiles(Job job,
long files)
Sends the number of processed files. |
void |
renamed(Job job,
KURL from,
KURL to)
The user chose to rename from to to. |
void |
totalDirs(Job job,
long dirs)
Emitted when the toal number of direcotries is known. |
void |
totalFiles(Job job,
long files)
Emitted when the total number of files is known. |
Method Detail |
---|
void totalFiles(Job job, long files)
job
- the job that emitted this signalfiles
- the total number of filesvoid totalDirs(Job job, long dirs)
job
- the job that emitted this signaldirs
- the total number of directoriesvoid processedFiles(Job job, long files)
job
- the job that emitted this signalfiles
- the number of processed filesvoid processedDirs(Job job, long dirs)
job
- the job that emitted this signaldirs
- the number of processed dirsvoid copying(Job job, KURL from, KURL to)
job
- the job that emitted this signalfrom
- the URl of the file or directory that is currently
being copiedto
- the destination of the current operationvoid linking(Job job, java.lang.String target, KURL to)
job
- the job that emitted this signaltarget
- the URl of the file or directory that is currently
being linkedto
- the destination of the current operationvoid moving(Job job, KURL from, KURL to)
job
- the job that emitted this signalfrom
- the URl of the file or directory that is currently
being movedto
- the destination of the current operationvoid creatingDir(Job job, KURL dir)
dir.
job
- the job that emitted this signaldir
- the directory that is currently being createdvoid renamed(Job job, KURL from, KURL to)
from
to to.
job
- the job that emitted this signalfrom
- the original nameto
- the new namevoid copyingDone(Job job, KURL from, KURL to, boolean directory, boolean renamed)
job
- the job that emitted this signalfrom
- the source URLto
- the destination URLdirectory
- indicates whether a file or directory was successfully copied/moved.
true for a directoy, false for filerenamed
- indicates that the destination URL was created using a
rename operation (i.e. fast directory moving). true if is has been renamedvoid copyingLinkDone(Job job, KURL from, java.lang.String target, KURL to)
to.
The existing one is/was in from.
This signal is mainly for the Undo feature.
job
- the job that emitted this signalfrom
- the source URLtarget
- the targetto
- the destination URL
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |