Interface Configuration
-
- All Superinterfaces:
ConfigurationV
- All Known Implementing Classes:
ConfigurationI
public interface Configuration extends ConfigurationV
TODO Split up into generic dynamically typed and type safe table and this configuration class.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description <T> void
process(Class<? extends T> type, Function<T,T> processor)
Process a certain type of resource values.default <T> Configuration
with_inited_option(Class<? extends Option<T>> key)
<T> Configuration
withConfigValue(Class<? extends Option<T>> key, T value)
-
Methods inherited from interface net.splitcells.dem.environment.config.framework.ConfigurationV
configValue
-
-
-
-
Method Detail
-
with_inited_option
default <T> Configuration with_inited_option(Class<? extends Option<T>> key)
-
withConfigValue
<T> Configuration withConfigValue(Class<? extends Option<T>> key, T value)
-
process
<T> void process(Class<? extends T> type, Function<T,T> processor)
Process a certain type of resource values.- Type Parameters:
T
- Type of resource values, that will be processed.- Parameters:
type
- Type of resource values, that will be processed.processor
- Function that replaces current resource values.
-
-