This repository has been archived on 2022-07-05. You can view files and clone it, but cannot push or open issues/pull-requests.
2017-04-02 20:03:18 +00:00
|
|
|
package ba.steleks.storage;
|
|
|
|
|
2018-01-17 21:21:25 +00:00
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
2017-04-02 20:03:18 +00:00
|
|
|
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;
|
2017-04-02 20:03:18 +00:00
|
|
|
|
|
|
|
public String getLocation() {
|
2018-09-15 12:36:11 +00:00
|
|
|
return "/Users/ensar.sarajcic/Steleks";
|
2017-04-02 20:03:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public void setLocation(String location) {
|
|
|
|
this.location = location;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|