Package com.day.cq.replication
Interface ConfigManager
-
public interface ConfigManagerConfigManager...
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceConfigManager.ConfigEventInterface for configuration eventstatic interfaceConfigManager.ConfigEventListenerInterface 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.voidregisterListener(ConfigManager.ConfigEventListener listener)Registers a listener to receive configuration event changesvoidunregisterListener(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
-
-