This repository has been archived on 2022-07-05. You can view files and clone it, but cannot push or open issues/pull-requests.
steleks_backend/common/src/main/java/ba/steleks/storage/StorageProperties.java

23 lines
543 B
Java
Raw Normal View History

package ba.steleks.storage;
2018-01-17 21:21:25 +00:00
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties("storage")
public class StorageProperties {
/**
* Folder location for storing files
*/
2018-02-03 14:32:24 +00:00
@Value("${default.storage.directory}")
2018-01-17 21:21:25 +00:00
private String location;
public String getLocation() {
2018-09-15 12:36:11 +00:00
return "/Users/ensar.sarajcic/Steleks";
}
public void setLocation(String location) {
this.location = location;
}
}