Add property for file exclusion

This commit is contained in:
2022-04-04 23:40:42 +02:00
parent 5d86b43388
commit 5cbf3fede2
9 changed files with 87 additions and 64 deletions

View File

@@ -1,22 +1,28 @@
package at.pcgamingfreaks.mkvaudiosubtitlechanger.model;
public enum ConfigProperty {
MKV_TOOL_NIX("mkvtoolnixPath"),
THREADS("threads"),
FORCED_KEYWORDS("forcedKeywords"),
CONFIG("config"),
LIBRARY("library"),
SAFE_MODE("safe-mode"),
HELP("help");
MKV_TOOL_NIX("mkvtoolnixPath", "Path to mkv tool nix installation"),
THREADS("threads", "thread count"),
FORCED_KEYWORDS("forcedKeywords", "Additional keywords to identify forced tracks\""),
CONFIG_PATH("config", "path to config"),
LIBRARY("library", "path to library"),
SAFE_MODE("safe-mode", "Test run (no files will be changes)"),
HELP("help", "\"for help this is\" - Yoda"),
EXCLUDE_DIRECTORY("exclude-directories", "Directories to exclude");
private final String property;
private final String description;
ConfigProperty(String property) {
ConfigProperty(String property, String description) {
this.property = property;
this.description = description;
}
@Override
public String toString() {
public String desc() {
return description;
}
public String prop() {
return property;
}
}