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

Kai Reinhard
15.51.2019 91c24ab5c6bafe0b3f5a83b018ed6feb31cfc225
borgbutler-server/src/main/java/de/micromata/borgbutler/server/BorgVersion.java
@@ -24,6 +24,7 @@
     * using a manual installed borg version.
     */
    @Getter
    @Setter(AccessLevel.PACKAGE)
    private String borgBinary;
    /**
     * The path of the borg command to use.
@@ -38,12 +39,16 @@
    @Getter
    @Setter(AccessLevel.PACKAGE)
    private String version;
    @Getter
    @Setter(AccessLevel.PACKAGE)
    private String statusMessage;
    public BorgVersion copyFrom(BorgVersion other) {
        this.borgCommand = other.borgCommand;
        this.borgBinary = other.borgBinary;
        this.versionOK = other.versionOK;
        this.version = other.version;
        this.statusMessage = other.statusMessage;
        return this;
    }
}