2024-04-26 15:26:11 +02:00
|
|
|
package org.opencdmp.filetransformer.docx.service.storage;
|
2023-12-18 10:05:27 +01:00
|
|
|
|
|
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
|
|
import org.springframework.boot.context.properties.bind.ConstructorBinding;
|
|
|
|
|
|
|
|
@ConfigurationProperties(prefix = "file.storage")
|
2024-03-06 15:34:34 +01:00
|
|
|
public class FileStorageServiceProperties {
|
2023-12-18 10:05:27 +01:00
|
|
|
private final String temp;
|
2024-01-31 16:49:49 +01:00
|
|
|
private final String transientPath;
|
2023-12-18 10:05:27 +01:00
|
|
|
|
|
|
|
@ConstructorBinding
|
2024-03-06 15:34:34 +01:00
|
|
|
public FileStorageServiceProperties(String temp, String transientPath) {
|
2023-12-18 10:05:27 +01:00
|
|
|
this.temp = temp;
|
2024-01-31 16:49:49 +01:00
|
|
|
this.transientPath = transientPath;
|
2023-12-18 10:05:27 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public String getTemp() {
|
|
|
|
return temp;
|
|
|
|
}
|
2024-01-31 16:49:49 +01:00
|
|
|
|
|
|
|
public String getTransientPath() {
|
|
|
|
return transientPath;
|
|
|
|
}
|
2023-12-18 10:05:27 +01:00
|
|
|
}
|