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/data/Repository.java | 97 ++++++++++++++++++++++++++++++++++++++----------
1 files changed, 76 insertions(+), 21 deletions(-)
diff --git a/borgbutler-core/src/main/java/de/micromata/borgbutler/data/Repository.java b/borgbutler-core/src/main/java/de/micromata/borgbutler/data/Repository.java
index 67b0a10..0426719 100644
--- a/borgbutler-core/src/main/java/de/micromata/borgbutler/data/Repository.java
+++ b/borgbutler-core/src/main/java/de/micromata/borgbutler/data/Repository.java
@@ -3,8 +3,6 @@
import de.micromata.borgbutler.config.BorgRepoConfig;
import de.micromata.borgbutler.json.borg.BorgCache;
import de.micromata.borgbutler.json.borg.BorgEncryption;
-import lombok.Getter;
-import lombok.Setter;
import org.apache.commons.collections4.CollectionUtils;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
@@ -27,8 +25,6 @@
*
* @see BorgRepoConfig#getRepo()
*/
- @Getter
- @Setter
String name;
/**
* A name describing this config. Only used for displaying purposes. This is automatically set with the name
@@ -36,42 +32,25 @@
*
* @see BorgRepoConfig#getDisplayName()
*/
- @Getter
- @Setter
String displayName;
- @Getter
- @Setter
private String id;
/**
* Date given by Borg server.
*/
- @Getter
- @Setter
private String lastModified;
/**
* Last date of getting this object from Borg server.
*/
- @Getter
- @Setter
private String lastCacheRefresh;
- @Getter
- @Setter
private String location;
- @Getter
- @Setter
private String securityDir;
- @Getter
- @Setter
private BorgCache cache;
- @Getter
- @Setter
private BorgEncryption encryption;
/**
* Might be null.
*/
- @Setter
private SortedSet<Archive> archives;
public Repository add(Archive archive) {
@@ -119,4 +98,80 @@
return Collections.unmodifiableSet(this.archives);
}
}
+
+ public String getName() {
+ return this.name;
+ }
+
+ public String getDisplayName() {
+ return this.displayName;
+ }
+
+ public String getId() {
+ return this.id;
+ }
+
+ public String getLastModified() {
+ return this.lastModified;
+ }
+
+ public String getLastCacheRefresh() {
+ return this.lastCacheRefresh;
+ }
+
+ public String getLocation() {
+ return this.location;
+ }
+
+ public String getSecurityDir() {
+ return this.securityDir;
+ }
+
+ public BorgCache getCache() {
+ return this.cache;
+ }
+
+ public BorgEncryption getEncryption() {
+ return this.encryption;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public void setDisplayName(String displayName) {
+ this.displayName = displayName;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public void setLastModified(String lastModified) {
+ this.lastModified = lastModified;
+ }
+
+ public void setLastCacheRefresh(String lastCacheRefresh) {
+ this.lastCacheRefresh = lastCacheRefresh;
+ }
+
+ public void setLocation(String location) {
+ this.location = location;
+ }
+
+ public void setSecurityDir(String securityDir) {
+ this.securityDir = securityDir;
+ }
+
+ public void setCache(BorgCache cache) {
+ this.cache = cache;
+ }
+
+ public void setEncryption(BorgEncryption encryption) {
+ this.encryption = encryption;
+ }
+
+ public void setArchives(SortedSet<Archive> archives) {
+ this.archives = archives;
+ }
}
--
Gitblit v1.10.0