Package zendesk.core

Interface ActionHandlerRegistry

    • Method Detail

      • add

        void add(ActionHandler actionHandler)
        Adds an ActionHandler to the registry.
        Parameters:
        actionHandler - the ActionHandler to add to the registry.
      • remove

        void remove(ActionHandler actionHandler)
        Removes an ActionHandler from the registry.
        Parameters:
        actionHandler - the ActionHandler to remove from the registry.
      • clear

        void clear()
        Removes all ActionHandlers from the registry.
      • updateSettings

        void updateSettings(java.util.Map<java.lang.String,JsonElement> settings)
        Notifies the Registry of an update to settings. These will be passed to each of the ActionHandlers via the ActionHandler.updateSettings(Map) method. These settings allows the ActionHandlers to determine whether they should be enabled.
        Parameters:
        settings - a map representing the SDK settings for the current instance. This will contain settings for each of the SDKs enabled for this account.