Class Presets
java.lang.Object
com.mooltiverse.oss.nyx.configuration.presets.Presets
The presets factory class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ConfigurationLayer
Returns a configuration layer instance by its name.
-
Constructor Details
-
Presets
public Presets()Default constructor.
-
-
Method Details
-
byName
Returns a configuration layer instance by its name.- Parameters:
name
- the name of the configuration layer to be returned.- Returns:
- the requested configuration layer.
- Throws:
IllegalPropertyException
- in case the given name can't be resolved to a preset.
-