public interface ConfigService
| Modifier and Type | Method and Description |
|---|---|
PrimitiveConfig |
addConfig(PrimitiveConfig config)
Adds a primitive configuration.
|
<C extends PrimitiveConfig<C>> |
getConfig(String primitiveName)
Returns the registered configuration for the given primitive.
|
<C extends PrimitiveConfig<C>> C getConfig(String primitiveName)
C - the configuration typeprimitiveName - the primitive namePrimitiveConfig addConfig(PrimitiveConfig config)
If a configuration is already registered it will not be overridden. The returned configuration represents the configuration that will be used when constructing a new primitive with the given name.
config - the configuration to addCopyright © 2013–2018. All rights reserved.