
kr.jm.metric.config.output.OutputConfigManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jm-metric Show documentation
Show all versions of jm-metric Show documentation
FieldMap Transformer From Various Formatted Data
package kr.jm.metric.config.output;
import kr.jm.metric.config.AbstractListConfigManager;
public class OutputConfigManager extends
AbstractListConfigManager {
private static final String OUTPUT_CONFIG_TYPE = "outputConfigType";
public OutputConfigManager(String configFilename) {
super(configFilename);
}
@Override
protected Class extractConfigClass(
String configTypeString) {
return OutputConfigType.valueOf(configTypeString).getConfigClass();
}
@Override
protected String getConfigTypeKey() {
return OUTPUT_CONFIG_TYPE;
}
@Override
protected String extractConfigId(OutputConfigInterface inputConfig) {
return inputConfig.getOutputId();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy