Class NoopConfigEntryLoader
- java.lang.Object
-
- io.streamthoughts.azkarra.streams.NoopConfigEntryLoader
-
- All Implemented Interfaces:
ApplicationConfigEntryLoader
public class NoopConfigEntryLoader extends Object implements ApplicationConfigEntryLoader
-
-
Constructor Summary
Constructors Constructor Description NoopConfigEntryLoader(Set<String> configEntryKeys)
Creates a newAbstractConfigEntryLoader
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(String configKey)
Checks whether this loader supported the specified root config key.void
load(ConfEntry configEntryObject, AzkarraApplication application)
Loads the configuration key/value entry.
-
-
-
Constructor Detail
-
NoopConfigEntryLoader
public NoopConfigEntryLoader(Set<String> configEntryKeys)
Creates a newAbstractConfigEntryLoader
instance.- Parameters:
configEntryKeys
- the configuration entry keys accepted by this loader.
-
-
Method Detail
-
accept
public boolean accept(String configKey)
Description copied from interface:ApplicationConfigEntryLoader
Checks whether this loader supported the specified root config key.- Specified by:
accept
in interfaceApplicationConfigEntryLoader
- Parameters:
configKey
- the entry config key.- Returns:
true
of the methodApplicationConfigEntryLoader.load(ConfEntry, AzkarraApplication)
can be invoked with the value config for the given key
-
load
public void load(ConfEntry configEntryObject, AzkarraApplication application)
Loads the configuration key/value entry.- Specified by:
load
in interfaceApplicationConfigEntryLoader
- Parameters:
configEntryObject
- the configuration entry key/value object.application
- theAzkarraApplication
instance.
-
-