Class ConfigurationManagementEvent


  • public class ConfigurationManagementEvent
    extends Object
    Event object used to notify ConfigurationManagementListener instances about changes in the configuration data.
    Author:
    arjansc
    • Field Detail

      • ADDED

        public static final int ADDED
        Identifies that data has been added to the configuration subsystem.
        See Also:
        Constant Field Values
      • DELETED

        public static final int DELETED
        Identifies that data has been removed from the configuration subsystem.
        See Also:
        Constant Field Values
      • UPDATED

        public static final int UPDATED
        Identifies that data has been updated in the configuration subsystem.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ConfigurationManagementEvent

        public ConfigurationManagementEvent​(int type)
        Create an event for a specific type of configuration change.
        Parameters:
        type - type of the event, see class constants
      • ConfigurationManagementEvent

        public ConfigurationManagementEvent​(int type,
                                            String configurationSetChannel,
                                            String propertyName)
        Create an event for a specific type of configuration change.
        Parameters:
        type - type of the event, see class constants
        configurationSetChannel - the name of the channel which the configurationset (for example "website_settings") belongs to
        propertyName - the name of the property which triggered this event (for example "backend_hostname")
    • Method Detail

      • getType

        public int getType()
        Returns the type of event.
      • getConfigurationSetChannel

        public String getConfigurationSetChannel()
        Returns the name of the channel where the configurationset (for example "website_settings") belongs to.
        Returns:
        the channel (F.E. "default" or "backend1")
      • getPropertyName

        public String getPropertyName()
        Returns the name of the property where this event is trigged on (for example "backend_hostname").
        Returns:
        the name of the property