mirror of https://github.com/micromata/borgbackup-butler.git

Kai Reinhard
08.45.2018 e01e6d75d5667a723b6aebd0abfebe323514f7fa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package de.micromata.borgbutler.json.borg;
 
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
 
public class RepoInfo extends RepositoryMatcher {
    @Getter
    @JsonProperty("security_dir")
    private String securityDir;
    @Getter
    private Cache cache;
    @Getter
    private Encryption encryption;
 
    public void updateFrom(RepoInfo repoInfo) {
        super.updateFrom(repoInfo);
        this.securityDir = repoInfo.securityDir;
        this.cache = repoInfo.cache;
        this.encryption = repoInfo.encryption;
    }
}