summaryrefslogtreecommitdiff
path: root/src/main/java/com/keuin/kbackupfabric/util/backup/incremental/ObjectCollection.java
diff options
context:
space:
mode:
authorKeuin <[email protected]>2021-01-12 16:54:03 +0800
committerkeuin <[email protected]>2021-01-12 16:54:03 +0800
commitf4d926c1eb91749a4b0f89c7a35538821ff7e21b (patch)
tree32890a856dfe67f80762000793d6140d43dd1795 /src/main/java/com/keuin/kbackupfabric/util/backup/incremental/ObjectCollection.java
parent4a52f5e6ce06cb6717510c6a975d5490be627c98 (diff)
Add serialization and deserialization for ObjectCollection
Diffstat (limited to 'src/main/java/com/keuin/kbackupfabric/util/backup/incremental/ObjectCollection.java')
-rw-r--r--src/main/java/com/keuin/kbackupfabric/util/backup/incremental/ObjectCollection.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/keuin/kbackupfabric/util/backup/incremental/ObjectCollection.java b/src/main/java/com/keuin/kbackupfabric/util/backup/incremental/ObjectCollection.java
index e0ef4f7..16d95e6 100644
--- a/src/main/java/com/keuin/kbackupfabric/util/backup/incremental/ObjectCollection.java
+++ b/src/main/java/com/keuin/kbackupfabric/util/backup/incremental/ObjectCollection.java
@@ -1,8 +1,9 @@
package com.keuin.kbackupfabric.util.backup.incremental;
+import java.io.Serializable;
import java.util.*;
-public class ObjectCollection {
+public class ObjectCollection implements Serializable {
private final String name;
private final Map<String, ObjectElement> elements;
private final Map<String, ObjectCollection> subCollections;