summaryrefslogtreecommitdiff
path: root/src/main/java/com/keuin/kbackupfabric/util/backup/provider
diff options
context:
space:
mode:
authorKeuin <[email protected]>2021-01-20 19:50:42 +0800
committerkeuin <[email protected]>2021-01-20 19:50:42 +0800
commitac7e70883c18602e7fd4b525b9e6fb9ea9620a6b (patch)
tree63b2d65d2fe489ef0cc1fe6e9a87b65c0b69de84 /src/main/java/com/keuin/kbackupfabric/util/backup/provider
parent7a5297de3467b1069fdf5e4a1b2aaf510ca35663 (diff)
refactor
Diffstat (limited to 'src/main/java/com/keuin/kbackupfabric/util/backup/provider')
-rw-r--r--src/main/java/com/keuin/kbackupfabric/util/backup/provider/AvailableBackupProvider.java8
-rw-r--r--src/main/java/com/keuin/kbackupfabric/util/backup/provider/IncrementalBackupInformation.java13
-rw-r--r--src/main/java/com/keuin/kbackupfabric/util/backup/provider/PrimitiveBackupInformation.java14
3 files changed, 0 insertions, 35 deletions
diff --git a/src/main/java/com/keuin/kbackupfabric/util/backup/provider/AvailableBackupProvider.java b/src/main/java/com/keuin/kbackupfabric/util/backup/provider/AvailableBackupProvider.java
deleted file mode 100644
index caa0e84..0000000
--- a/src/main/java/com/keuin/kbackupfabric/util/backup/provider/AvailableBackupProvider.java
+++ /dev/null
@@ -1,8 +0,0 @@
-package com.keuin.kbackupfabric.util.backup.provider;
-
-/**
- * List all backup in disk. Provide their basic information as soon as possible.
- */
-public class AvailableBackupProvider {
- // TODO: remove obsolete impl. in command user interface. Use this instead.
-}
diff --git a/src/main/java/com/keuin/kbackupfabric/util/backup/provider/IncrementalBackupInformation.java b/src/main/java/com/keuin/kbackupfabric/util/backup/provider/IncrementalBackupInformation.java
deleted file mode 100644
index 861d210..0000000
--- a/src/main/java/com/keuin/kbackupfabric/util/backup/provider/IncrementalBackupInformation.java
+++ /dev/null
@@ -1,13 +0,0 @@
-package com.keuin.kbackupfabric.util.backup.provider;
-
-import com.keuin.kbackupfabric.util.backup.name.BackupFileNameEncoder;
-
-import java.time.LocalDateTime;
-
-public class IncrementalBackupInformation extends BackupFileNameEncoder.BackupBasicInformation {
- // TODO: show total size for incremental backup
-
- public IncrementalBackupInformation(String customName, LocalDateTime time) {
- super(customName, time);
- }
-}
diff --git a/src/main/java/com/keuin/kbackupfabric/util/backup/provider/PrimitiveBackupInformation.java b/src/main/java/com/keuin/kbackupfabric/util/backup/provider/PrimitiveBackupInformation.java
deleted file mode 100644
index d3d2db8..0000000
--- a/src/main/java/com/keuin/kbackupfabric/util/backup/provider/PrimitiveBackupInformation.java
+++ /dev/null
@@ -1,14 +0,0 @@
-package com.keuin.kbackupfabric.util.backup.provider;
-
-import com.keuin.kbackupfabric.util.backup.name.BackupFileNameEncoder;
-
-import java.time.LocalDateTime;
-
-public class PrimitiveBackupInformation extends BackupFileNameEncoder.BackupBasicInformation {
- public final long sizeBytes;
-
- public PrimitiveBackupInformation(String customName, LocalDateTime time, long sizeBytes) {
- super(customName, time);
- this.sizeBytes = sizeBytes;
- }
-}