Package com.day.cq.replication
Interface ConfigManager
-
public interface ConfigManager
ConfigManager
...
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ConfigManager.ConfigEvent
Interface for configuration eventstatic interface
ConfigManager.ConfigEventListener
Interface for configuration event listeners.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,AgentConfigGroup>
getConfigGroups()
Returns a map of all agent configuration groups.java.util.Map<java.lang.String,AgentConfig>
getConfigurations()
Returns a map of all agent configurations of all run modes.void
registerListener(ConfigManager.ConfigEventListener listener)
Registers a listener to receive configuration event changesvoid
unregisterListener(ConfigManager.ConfigEventListener listener)
Unregisters a previously registered listener.
-
-
-
Method Detail
-
getConfigGroups
java.util.Map<java.lang.String,AgentConfigGroup> getConfigGroups()
Returns a map of all agent configuration groups.- Returns:
- a map where the key is the configuration group path
-
getConfigurations
java.util.Map<java.lang.String,AgentConfig> getConfigurations()
Returns a map of all agent configurations of all run modes.- Returns:
- a map where the key is the configuration id
-
registerListener
void registerListener(ConfigManager.ConfigEventListener listener)
Registers a listener to receive configuration event changes- Parameters:
listener
- the listener
-
unregisterListener
void unregisterListener(ConfigManager.ConfigEventListener listener)
Unregisters a previously registered listener.- Parameters:
listener
- the listener
-
-