nz.co.jedsimson.lgp.core.environment.config

Package nz.co.jedsimson.lgp.core.environment.config

Types

Configuration

class Configuration

Represents the parameters that can be set for the an LGP environment.

ConfigurationLoader

interface ConfigurationLoader : ComponentLoader<Configuration>

An extended ComponentLoader that is responsible for loading Configuration instances.

ConfigurationValidity

sealed class ConfigurationValidity

Invalid

class Invalid : ConfigurationValidity

JsonConfigurationLoader

class JsonConfigurationLoader : ConfigurationLoader

An implementation of ConfigurationLoader that loads configuration from a JSON file.

Valid

class Valid : ConfigurationValidity

Exceptions

InvalidConfigurationException

class InvalidConfigurationException : Exception