org.ovirt.engine.core.notifier.methods

Class NotificationMethodMapBuilder

    • Method Detail

      • instance

        public static NotificationMethodMapBuilder instance()
        a getter of single instance of the method builder
        Returns:
        a reference to the event notification map builder
      • createMethodsMapper

        public NotificationMethodMapBuilder.NotificationMethodFactoryMapper createMethodsMapper(List<event_notification_methods> notificationMethods,
                                                                                       Map<String,String> properties)
        Maps pairs of notification method type to the factory which produces the class that handles the notification action.
        Design meant to provide a varied instantiation of the method type implementation class.
        Parameters:
        notificationMethods - supported list of notification methods
        properties - configuration properties for the factories
        Returns:
        a map of notification map and its factory

Copyright © 2012. All Rights Reserved.