Module net.morimekta.config
Package net.morimekta.config
-
Interface Summary Interface Description ConfigChangeListener<ConfigEntry> Listener for changes to config.ConfigEventListener Listen to config events.SecretListener Listen to changes in secrets. -
Class Summary Class Description ConfigExceptionBuffer A small utility buffer class for accumulating exceptions and passing as a config exception if any happens.ConfigReader<ConfigType> A helper class to load config files from disk and parse into the specified config type.ConfigReader.YamlConfigReader<ConfigType> Read config as YAML.ConfigSupplier<ConfigType> A wrapper around a config file to handle loading and parsing during application setup.ConfigWatcher<ConfigFileType> The config watcher watches the whole directory of config files of the same type, and notifies listeners of any changes.ConfigWatcher.ConfigEntry<ConfigFileType> A config file entry cached in the watcher.Secret Keeps a secret.Secret.SecretDeserializer SecretsManager A class managing secrets as read from files in a single directory.SecretsManager.SecretManagerDeserializer A deserializer for secrets manager to make it easy to include the manager in a standard jackson-parsed config file (JSON or YAML).SecretsManager.SecretsConfig Simple configuration of the secrets manager as an object. -
Enum Summary Enum Description ConfigChangeType Types of changes on config content.ConfigEventListener.Status The status of the event. -
Exception Summary Exception Description ConfigException Exception related to config handling and loading.UncheckedConfigException A runtime / unchecked variant ofConfigException.