From e24dcccdda9ae085534e0f16814486eb155aaa59 Mon Sep 17 00:00:00 2001
From: Kai Reinhard <K.Reinhard@micromata.de>
Date: Tue, 31 Dec 2019 07:45:57 +0000
Subject: [PATCH] Delombok.
---
borgbutler-core/src/main/java/de/micromata/borgbutler/json/borg/BorgArchive2.java | 51 ++++++++++++++++++++++++++++++++++++++++-----------
1 files changed, 40 insertions(+), 11 deletions(-)
diff --git a/borgbutler-core/src/main/java/de/micromata/borgbutler/json/borg/BorgArchive2.java b/borgbutler-core/src/main/java/de/micromata/borgbutler/json/borg/BorgArchive2.java
index 78c8d59..dee2acc 100644
--- a/borgbutler-core/src/main/java/de/micromata/borgbutler/json/borg/BorgArchive2.java
+++ b/borgbutler-core/src/main/java/de/micromata/borgbutler/json/borg/BorgArchive2.java
@@ -2,7 +2,6 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import de.micromata.borgbutler.json.JsonUtils;
-import lombok.Getter;
import java.io.Serializable;
@@ -11,33 +10,63 @@
*/
public class BorgArchive2 implements Serializable {
private static final long serialVersionUID = 4734056884088174992L;
- @Getter
@JsonProperty("chunker_params")
private int[] chunkerParams;
/**
* The command line used for creating this archive: borg create --filter...
*/
- @Getter
@JsonProperty("command_line")
private String[] commandLine;
- @Getter
private String comment;
- @Getter
private String start;
- @Getter
private String end;
- @Getter
private String duration;
- @Getter
private BorgArchiveStats stats;
- @Getter
private BorgArchiveLimits limits;
- @Getter
private String hostname;
- @Getter
private String username;
public String toString() {
return JsonUtils.toJson(this, true);
}
+
+ public int[] getChunkerParams() {
+ return this.chunkerParams;
+ }
+
+ public String[] getCommandLine() {
+ return this.commandLine;
+ }
+
+ public String getComment() {
+ return this.comment;
+ }
+
+ public String getStart() {
+ return this.start;
+ }
+
+ public String getEnd() {
+ return this.end;
+ }
+
+ public String getDuration() {
+ return this.duration;
+ }
+
+ public BorgArchiveStats getStats() {
+ return this.stats;
+ }
+
+ public BorgArchiveLimits getLimits() {
+ return this.limits;
+ }
+
+ public String getHostname() {
+ return this.hostname;
+ }
+
+ public String getUsername() {
+ return this.username;
+ }
}
--
Gitblit v1.10.0