All Classes and Interfaces
Class
Description
A ConfigWrapper that gets
Object
values from some source for a given path.Identical to Consumer except that the CheckedConsumer.accept(Object)
method may throw a checked exception.
A ConfigWrapper that wraps an Apache Commons Config Configuration.
A functional interface for functions that validate config input and optionally convert it to a new output type.
ConfigFilters are intended to be chained together with ConfigFilter.withFilter(ConfigFilter).
See ConfigFilterResult for information on the return type of this function.
ConfigFilters are intended to be chained together with ConfigFilter.withFilter(ConfigFilter).
See ConfigFilterResult for information on the return type of this function.
Represents the result of a ConfigFilter.
Specifies whether it passed or failed, the output if it passed, and the fail message if it failed.
Specifies whether it passed or failed, the output if it passed, and the fail message if it failed.
Utility class with methods that provide common ConfigFilters.
Represents the state of a file on the file system.
Represents a list of elements that should exist in a configuration.
Specifies a data type, a filter, and an element filter that a list node should match.
The element filter is applied to each element separately to produce a list of type U and the filter is applied to the List<U> produced by applying the element filter to the input.
When a list is validated against a ConfigWrapper, the type of the list is verified to be correct and both filters are confirmed to have passed.
Specifies a data type, a filter, and an element filter that a list node should match.
The element filter is applied to each element separately to produce a list of type U and the filter is applied to the List<U> produced by applying the element filter to the input.
When a list is validated against a ConfigWrapper, the type of the list is verified to be correct and both filters are confirmed to have passed.
Represents a node that should exist in a configuration.
Specifies a data type and a filter that a configuration node should match.
When a node is validated against a ConfigWrapper, the type of the node is verified to be correct and the filter is confirmed to have passed.
Specifies a data type and a filter that a configuration node should match.
When a node is validated against a ConfigWrapper, the type of the node is verified to be correct and the filter is confirmed to have passed.
A Configuration Specification that specifies various ConfigNodes that must be present in a configuration.
This class is used to validate a config with many nodes.
Specifies list of nodes and their corresponding locations (paths) in the configuration.
When a ConfigSpec is validated against a ConfigWrapper, each of its contained nodes are validated as well.
This class is used to validate a config with many nodes.
Specifies list of nodes and their corresponding locations (paths) in the configuration.
When a ConfigSpec is validated against a ConfigWrapper, each of its contained nodes are validated as well.
Represents the result of a config validation operation.
Specifies whether it passed or failed and a fail message if it failed.
Specifies whether it passed or failed and a fail message if it failed.
Abstraction over config classes from many libraries.
If the underlying config does not contain a value at a given path, the get methods in this interface return null.
If any arguments of any method are null, the methods of this interface may throw a NullPointerException.
The
If the underlying config does not contain a value at a given path, the get methods in this interface return null.
If any arguments of any method are null, the methods of this interface may throw a NullPointerException.
The
ConfigWrapper.getConfigSubsection(String)
method called with an empty string as the argument should return
a ConfigWrapper equal to this
, ConfigWrapper.isConfigSubsection(String)
with an empty string should return true,
and ConfigWrapper.containsNode(String)
with an empty string should return true.A ConfigWrapper that gets its values from a map of strings to objects.
This class assumes that all config subsections are contained within the main map as sub-maps.
This class assumes that all config subsections are contained within the main map as sub-maps.
A ConfigWrapper that wraps a map produced from any of the Yaml load() methods.
This class is identical to MapConfigWrapper.
This class is identical to MapConfigWrapper.