summaryrefslogtreecommitdiff
path: root/src/main/java/com/keuin/kbackupfabric/metadata/BackupMetadata.java
blob: b8cb852f855e4782b5da3136f729c706c39ef8eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.keuin.kbackupfabric.metadata;

import java.io.Serializable;

/**
 * WARNING: DO NOT modify this class, or the plugin will be incompatible with backups created by older versions.
 */
public class BackupMetadata implements Serializable {
    public static final String metadataFileName = "kbackup_metadata";
    private static final long serialVersionUID = 1L;
    private final long BackupTime;
    private final String backupName;

    public BackupMetadata(long backupTime, String backupName) {
        BackupTime = backupTime;
        this.backupName = backupName;
    }

    public long getBackupTime() {
        return BackupTime;
    }

    public String getBackupName() {
        return backupName;
    }
}