| File was renamed from borgbutler-core/src/main/java/de/micromata/borgbutler/json/borg/Repository.java |
| | |
| | | import lombok.Getter; |
| | | import lombok.Setter; |
| | | |
| | | import java.io.Serializable; |
| | | |
| | | /** |
| | | * Part of Borg json objects to refer objects to repositories. |
| | | */ |
| | | public class Repository implements Serializable { |
| | | private static final long serialVersionUID = 1278802519434516280L; |
| | | public class BorgRepository { |
| | | /** |
| | | * A name describing this config. Only used for displaying purposes. This is automatically set with the name |
| | | * of the repository configuration. |
| | |
| | | * @param location |
| | | * @return |
| | | */ |
| | | public Repository setLocation(String location) { |
| | | public BorgRepository setLocation(String location) { |
| | | this.location = location; |
| | | // It's ugly but efficiently ;-) |
| | | BorgRepoConfig repoConfig = ConfigurationHandler.getConfiguration().getRepoConfig(location); |