ru.cwcode.tkach.config.base.manager.ConfigMapper Maven / Gradle / Ivy
The newest version!
package ru.cwcode.tkach.config.base.manager;
import ru.cwcode.tkach.config.base.Config;
import ru.cwcode.tkach.config.base.ConfigPersistOptions;
import java.util.Optional;
public abstract class ConfigMapper> {
protected ConfigManager configManager;
public void setConfigManager(ConfigManager configManager) {
this.configManager = configManager;
}
public abstract Optional map(String string, Class configClass, ConfigPersistOptions persistOptions);
public abstract Optional map(C config, ConfigPersistOptions persistOptions);
}