Config.Impl

public static class Impl implements Config

Fields

version

long version

Methods

apply

public void apply(ConfigUpdate update, Optional<ValueMerger> customMergeLogic)

copy

public Config copy(boolean newVersionLine)

getValue

public <T> T getValue(String key, Class<T> type)

getValueOrDefault

public <T extends Object> T getValueOrDefault(String key, T defaultValue)

getValues

public <T> List<T> getValues(String key)

getValues

public <T> List<T> getValues(String key, Class<T> type)

modify

public Builder modify(UUID author)

readValue

public <T> Optional<T> readValue(String key)

readValue

public <T> Optional<T> readValue(String key, Class<T> type)