tuweni / org.apache.tuweni.config

Package org.apache.tuweni.config

Types

Configuration

Represents collection of configuration properties, optionally validated against a schema.

interface Configuration

ConfigurationErrors

Factory methods for collections of ConfigurationError.

class ConfigurationErrors

ConfigurationValidator

A validator for a configuration.

interface ConfigurationValidator

DocumentPosition

A position in an input document.

class DocumentPosition

PropertyValidator

A validator associated with a specific configuration property.

interface PropertyValidator<T : Any!>

Schema

A schema for a configuration, providing default values and validation rules.

class Schema

SchemaBuilder

This interface allows customers to determine a schema to associate with a configuration to validate the entries read from configuration files, and provide default values if no value is present in the configuration file.

class SchemaBuilder

Exceptions

ConfigurationError

Provides details regarding an error in the configuration.

class ConfigurationError : RuntimeException

InvalidConfigurationPropertyTypeException

An exception thrown when an invalid type is encountered.

class InvalidConfigurationPropertyTypeException : RuntimeException

NoConfigurationPropertyException

An exception thrown when a requested configuration property is not found.

class NoConfigurationPropertyException : RuntimeException