add config
This commit is contained in:
parent
29317dd4d7
commit
5093a37d92
|
@ -37,3 +37,4 @@ build/
|
||||||
### Mac OS ###
|
### Mac OS ###
|
||||||
.DS_Store
|
.DS_Store
|
||||||
/.idea/uiDesigner.xml
|
/.idea/uiDesigner.xml
|
||||||
|
/config/SonarrFixerConfig.yml
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
package tv.mangrana.config;
|
||||||
|
|
||||||
|
import tv.mangrana.exception.IncorrectWorkingReferencesException;
|
||||||
|
|
||||||
|
public class ConfigFileLoader extends CommonConfigFileLoader<ConfigFileLoader.ProjectConfiguration> {
|
||||||
|
|
||||||
|
private static final String CONFIG_FILE = "SonarrFixerConfig.yml";
|
||||||
|
|
||||||
|
public ConfigFileLoader() throws IncorrectWorkingReferencesException {
|
||||||
|
super(ProjectConfiguration.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
public enum ProjectConfiguration {
|
||||||
|
UPLOADS_PATHS
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected String getConfigFileName() {
|
||||||
|
return CONFIG_FILE;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue