From f0c771c2e71fd10f0096c62f0d0d4b0d3d78e268 Mon Sep 17 00:00:00 2001 From: Mario Danic Date: Fri, 5 May 2017 20:55:11 +0200 Subject: [PATCH] Document new auto upload job Signed-off-by: Mario Danic --- .../java/com/owncloud/android/jobs/NewAutoUploadJob.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/java/com/owncloud/android/jobs/NewAutoUploadJob.java b/src/main/java/com/owncloud/android/jobs/NewAutoUploadJob.java index 277cee0bfd..63562d7e39 100644 --- a/src/main/java/com/owncloud/android/jobs/NewAutoUploadJob.java +++ b/src/main/java/com/owncloud/android/jobs/NewAutoUploadJob.java @@ -44,6 +44,14 @@ import java.io.IOException; import java.util.ArrayList; import java.util.List; +/* + This job is meant to run periodically every half an hour, and has the following burden on it's shoulders: + - looks through all relevant folders and stores files & folders into a database + - cleans files from DB that we haven't encountered in a while (TODO) + - store newly created files to be uploaded into uploads table (TODO) + - initiate uploads from the uploads table (TODO) + - restart uploads that have previously failed (TODO +*/ public class NewAutoUploadJob extends Job { public static final String TAG = "NewAutoUploadJob";