Class KeyManipulatingConfigRetriever
java.lang.Object
org.chenile.cconfig.spi.KeyManipulatingConfigRetriever
- All Implemented Interfaces:
Command<ConfigContext>
- Direct Known Subclasses:
DbBasedCconfigRetriever, PropertiesBasedCconfigRetriever
public abstract class KeyManipulatingConfigRetriever
extends Object
implements Command<ConfigContext>
This needs to be enhanced by all the config retrievers who want to allow manipulating existing keys.
They need to return a bunch of CConfigs - each with the intent if manipulating one key (there can be
multiple CConfigs that manipulate the same key).
The CConfig can replace an entire key or parts of it as specified in the Cconfig.path
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidexecute(ConfigContext configContext) retrieveCconfigs(ConfigContext configContext)
-
Constructor Details
-
KeyManipulatingConfigRetriever
public KeyManipulatingConfigRetriever()
-
-
Method Details
-
execute
- Specified by:
executein interfaceCommand<ConfigContext>
-
retrieveCconfigs
-