|
| SyncTask (TreeView treeView, String caption, String commentCommit, int commitAction, String commentUpdate, int updateAction) |
|
| DefaultTask (TreeView treeView, String caption) |
|
String | execute () throws TaskExecutionException |
|
- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 28 of file SyncTask.java.
◆ SyncTask()
org.turro.wd.tree.SyncTask.SyncTask |
( |
TreeView |
treeView, |
|
|
String |
caption, |
|
|
String |
commentCommit, |
|
|
int |
commitAction, |
|
|
String |
commentUpdate, |
|
|
int |
updateAction |
|
) |
| |
Definition at line 42 of file SyncTask.java.
46 this.commentCommit = commentCommit;
47 this.commitAction = commitAction;
48 this.commentUpdate = commentUpdate;
49 this.updateAction = updateAction;
◆ done()
String org.turro.wd.tree.SyncTask.done |
( |
| ) |
|
|
protected |
◆ failed()
String org.turro.wd.tree.SyncTask.failed |
( |
| ) |
|
|
protected |
◆ process() [1/2]
void org.turro.wd.tree.SyncTask.process |
( |
TreeDirectory |
dir | ) |
throws ParseException |
|
protected |
◆ process() [2/2]
void org.turro.wd.tree.SyncTask.process |
( |
TreeWorkFile |
file | ) |
throws ParseException |
|
protected |
Reimplemented from org.turro.wd.tree.DefaultTask.
Definition at line 67 of file SyncTask.java.
68 WorkFile wf = file.getWorkFile();
69 if(wf.isUploadable()) {
70 wf.doUpload(commentCommit, commitAction);
71 }
else if(wf.isDownloadable() || (updateAction == UPDATE_UPDATE_FOR_EDITING)) {
72 wf.doDownload(updateAction);
73 }
else if(wf.isServerLocked() && commitAction == COMMIT_UNLOCK_ALL) {
◆ UPDATE_DO_NOTHING
final int org.turro.wd.tree.SyncTask.UPDATE_DO_NOTHING = 0 |
|
static |
The documentation for this class was generated from the following file: