summaryrefslogtreecommitdiff
path: root/src/main/java/com/keuin/kbackupfabric/backup/provider/PrimitiveBackupInformation.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/keuin/kbackupfabric/backup/provider/PrimitiveBackupInformation.java')
-rw-r--r--src/main/java/com/keuin/kbackupfabric/backup/provider/PrimitiveBackupInformation.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main/java/com/keuin/kbackupfabric/backup/provider/PrimitiveBackupInformation.java b/src/main/java/com/keuin/kbackupfabric/backup/provider/PrimitiveBackupInformation.java
new file mode 100644
index 0000000..53f049c
--- /dev/null
+++ b/src/main/java/com/keuin/kbackupfabric/backup/provider/PrimitiveBackupInformation.java
@@ -0,0 +1,14 @@
+package com.keuin.kbackupfabric.backup.provider;
+
+import com.keuin.kbackupfabric.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;
+ }
+}