| | |
| | | import de.micromata.borgbutler.cache.ButlerCache; |
| | | import de.micromata.borgbutler.config.Configuration; |
| | | import de.micromata.borgbutler.config.ConfigurationHandler; |
| | | import lombok.Getter; |
| | | import org.apache.commons.lang3.StringUtils; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | |
| | | |
| | | private int port = WEBSERVER_PORT_DEFAULT; |
| | | private boolean webDevelopmentMode = WEB_DEVELOPMENT_MODE_PREF_DEFAULT; |
| | | @Getter |
| | | private BorgVersion borgVersion = new BorgVersion(); |
| | | @JsonProperty |
| | | public String getCacheDir() { |
| | | return ButlerCache.getInstance().getCacheDir().getAbsolutePath(); |
| | |
| | | super.copyFrom(other); |
| | | this.port = other.port; |
| | | this.webDevelopmentMode = other.webDevelopmentMode; |
| | | this.borgVersion.copyFrom(other.borgVersion); |
| | | } |
| | | } |