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

Kai Reinhard
14.06.2018 af52d0914ffb0ae4a5cd4fef574fc3d659f03473
borgbutler-core/src/main/java/de/micromata/borgbutler/json/borg/RepoInfo.java
@@ -1,14 +1,16 @@
package de.micromata.borgbutler.json.borg;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
import java.io.Serializable;
/**
 * Result of borg info repo
 */
public class RepoInfo extends RepositoryMatcher implements Serializable {
public class RepoInfo implements Serializable {
    private static final long serialVersionUID = -1588038325129799400L;
    @Getter
    @JsonProperty("security_dir")
@@ -17,11 +19,10 @@
    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;
    }
    @Getter
    private Repository repository;
    @Getter
    @Setter
    @JsonIgnore
    protected String originalJson;
}