Class ProcessorMappingRegistry
- java.lang.Object
-
- de.hybris.platform.notificationservices.mapping.ProcessorMappingRegistry
-
public class ProcessorMappingRegistry extends java.lang.ObjectGet the processor by using specific channel and notification type
-
-
Constructor Summary
Constructors Constructor Description ProcessorMappingRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMapping(NotificationChannel notificationChannel, NotificationType notificationType, Processor processor)add new processor to this registry's mapjava.util.Map<NotificationChannel,java.util.Map<NotificationType,Processor>>getMappings()
-
-
-
Method Detail
-
addMapping
public void addMapping(NotificationChannel notificationChannel, NotificationType notificationType, Processor processor)
add new processor to this registry's map- Parameters:
notificationChannel- one notification channel such as email, smsnotificationType- represents one notification typeprocessor- one specific processor
-
getMappings
public java.util.Map<NotificationChannel,java.util.Map<NotificationType,Processor>> getMappings()
-
-