IConfigurationProvider

public interface IConfigurationProvider

Functions

Link copied to clipboard
@Contract(pure = true)
public abstract T get<T>(@Nonnull() IKeyWithDefault<T> key)
Use this function to retrieve a value from the config.
Link copied to clipboard
public abstract Set<QualifiedKey> getChildren(@Nonnull() QualifiedKey key)
Safe to use from within IKeyDeserializer so you can deserialize objects or lists List elements will never be null, but the returned list may be emptyList
Link copied to clipboard
@Contract(pure = true)
public abstract String unsafeGet(@Nonnull() QualifiedKey key)
This function is designed to be used by an IKeyDeserializer and is not safe as it may return null, and always returns getClassById string