config
Module Contents
alltypes
Module Contents
interface Configuration
class ConfigurationError : RuntimeException
class ConfigurationErrors
interface ConfigurationValidator
class DocumentPosition
class InvalidConfigurationPropertyTypeException : RuntimeException
class NoConfigurationPropertyException : RuntimeException
interface PropertyValidator<T : Any!>
class Schema
class SchemaBuilder
Module Contents
fun addBoolean(key: String!, @Nullable defaultValue: Boolean?, @Nullable description: String?, @Nullable validator: PropertyValidator<in Boolean!>?): SchemaBuilder!
fun addDefault(key: String!, value: Any!): SchemaBuilder!
fun addDouble(key: String!, @Nullable defaultValue: Double?, @Nullable description: String?, @Nullable validator: PropertyValidator<in Double!>?): SchemaBuilder!
fun addInteger(key: String!, @Nullable defaultValue: Int?, @Nullable description: String?, @Nullable validator: PropertyValidator<in Int!>?): SchemaBuilder!
fun addListOfBoolean(key: String!, @Nullable defaultValue: MutableList<Boolean!>?, @Nullable description: String?, @Nullable validator: PropertyValidator<in MutableList<Boolean!>!>?): SchemaBuilder!
fun addListOfDouble(key: String!, @Nullable defaultValue: MutableList<Double!>?, @Nullable description: String?, @Nullable validator: PropertyValidator<in MutableList<Double!>!>?): SchemaBuilder!
fun addListOfInteger(key: String!, @Nullable defaultValue: MutableList<Int!>?, @Nullable description: String?, @Nullable validator: PropertyValidator<in MutableList<Int!>!>?): SchemaBuilder!
fun addListOfLong(key: String!, @Nullable defaultValue: MutableList<Long!>?, @Nullable description: String?, @Nullable validator: PropertyValidator<in MutableList<Long!>!>?): SchemaBuilder!
fun addListOfMap(key: String!, @Nullable defaultValue: MutableList<MutableMap<String!, Any!>!>?, @Nullable description: String?, @Nullable validator: PropertyValidator<in MutableList<MutableMap<String!, Any!>!>!>?): SchemaBuilder!
fun addListOfString(key: String!, @Nullable defaultValue: MutableList<String!>?, @Nullable description: String?, @Nullable validator: PropertyValidator<in MutableList<String!>!>?): SchemaBuilder!
fun addLong(key: String!, @Nullable defaultValue: Long?, @Nullable description: String?, @Nullable validator: PropertyValidator<in Long!>?): SchemaBuilder!
fun addString(key: String!, @Nullable defaultValue: String?, @Nullable description: String?, @Nullable validator: PropertyValidator<in String!>?): SchemaBuilder!
static fun create(): SchemaBuilder!
fun documentProperty(key: String!, description: String!): SchemaBuilder!
fun toSchema(): Schema!
fun validateConfiguration(validator: ConfigurationValidator!): SchemaBuilder!
fun validateProperty(key: String!, validator: PropertyValidator<Any!>!): SchemaBuilder!
package org.apache.tuweni.config
Module Contents
interface Configuration
class ConfigurationError : RuntimeException
class ConfigurationErrors
interface ConfigurationValidator
class DocumentPosition
class InvalidConfigurationPropertyTypeException : RuntimeException
class NoConfigurationPropertyException : RuntimeException
interface PropertyValidator<T : Any!>
class Schema
class SchemaBuilder
Module Contents
fun addBoolean(key: String!, @Nullable defaultValue: Boolean?, @Nullable description: String?, @Nullable validator: PropertyValidator<in Boolean!>?): SchemaBuilder!
fun addDefault(key: String!, value: Any!): SchemaBuilder!
fun addDouble(key: String!, @Nullable defaultValue: Double?, @Nullable description: String?, @Nullable validator: PropertyValidator<in Double!>?): SchemaBuilder!
fun addInteger(key: String!, @Nullable defaultValue: Int?, @Nullable description: String?, @Nullable validator: PropertyValidator<in Int!>?): SchemaBuilder!
fun addListOfBoolean(key: String!, @Nullable defaultValue: MutableList<Boolean!>?, @Nullable description: String?, @Nullable validator: PropertyValidator<in MutableList<Boolean!>!>?): SchemaBuilder!
fun addListOfDouble(key: String!, @Nullable defaultValue: MutableList<Double!>?, @Nullable description: String?, @Nullable validator: PropertyValidator<in MutableList<Double!>!>?): SchemaBuilder!
fun addListOfInteger(key: String!, @Nullable defaultValue: MutableList<Int!>?, @Nullable description: String?, @Nullable validator: PropertyValidator<in MutableList<Int!>!>?): SchemaBuilder!
fun addListOfLong(key: String!, @Nullable defaultValue: MutableList<Long!>?, @Nullable description: String?, @Nullable validator: PropertyValidator<in MutableList<Long!>!>?): SchemaBuilder!
fun addListOfMap(key: String!, @Nullable defaultValue: MutableList<MutableMap<String!, Any!>!>?, @Nullable description: String?, @Nullable validator: PropertyValidator<in MutableList<MutableMap<String!, Any!>!>!>?): SchemaBuilder!
fun addListOfString(key: String!, @Nullable defaultValue: MutableList<String!>?, @Nullable description: String?, @Nullable validator: PropertyValidator<in MutableList<String!>!>?): SchemaBuilder!
fun addLong(key: String!, @Nullable defaultValue: Long?, @Nullable description: String?, @Nullable validator: PropertyValidator<in Long!>?): SchemaBuilder!
fun addString(key: String!, @Nullable defaultValue: String?, @Nullable description: String?, @Nullable validator: PropertyValidator<in String!>?): SchemaBuilder!
static fun create(): SchemaBuilder!
fun documentProperty(key: String!, description: String!): SchemaBuilder!
fun toSchema(): Schema!
fun validateConfiguration(validator: ConfigurationValidator!): SchemaBuilder!
fun validateProperty(key: String!, validator: PropertyValidator<Any!>!): SchemaBuilder!