Class AbstractConfigEntryLoader
- java.lang.Object
-
- io.streamthoughts.azkarra.streams.AbstractConfigEntryLoader
-
- All Implemented Interfaces:
ApplicationConfigEntryLoader
- Direct Known Subclasses:
AutoStartConfigEntryLoader
,AzkarraMetricsConfigEntryLoader
,ComponentConfigEntryLoader
,EnvironmentsConfigEntryLoader
,ServerConfigEntryLoader
,StreamsConfigEntryLoader
public abstract class AbstractConfigEntryLoader extends Object implements ApplicationConfigEntryLoader
-
-
Constructor Summary
Constructors Constructor Description AbstractConfigEntryLoader(String configEntryKey)
Creates a newAbstractConfigEntryLoader
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(String configEntryKey)
Checks whether this loader supported the specified root config key.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.streamthoughts.azkarra.streams.ApplicationConfigEntryLoader
load
-
-
-
-
Constructor Detail
-
AbstractConfigEntryLoader
public AbstractConfigEntryLoader(String configEntryKey)
Creates a newAbstractConfigEntryLoader
instance.- Parameters:
configEntryKey
- the configuration entry key accepted by this loader.
-
-
Method Detail
-
accept
public boolean accept(String configEntryKey)
Checks whether this loader supported the specified root config key.- Specified by:
accept
in interfaceApplicationConfigEntryLoader
- Parameters:
configEntryKey
- the entry config key.- Returns:
true
of the methodApplicationConfigEntryLoader.load(ConfEntry, AzkarraApplication)
can be invoked with the value config for the given key
-
-