Class LoggingMessageBuilder
java.lang.Object
com.broadleafcommerce.notification.service.LoggingMessageBuilder
- All Implemented Interfaces:
MessageBuilder
MessageBuilder that logs the notification. Primarily useful for testing. If a Handler does not
need a MessageBuilder, it should not use this and instead should use NullMessageBuilder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildMessage
(Notification notification, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) static LoggingMessageBuilder
instance()
-
Constructor Details
-
LoggingMessageBuilder
public LoggingMessageBuilder()
-
-
Method Details
-
instance
-
buildMessage
public String buildMessage(Notification notification, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) - Specified by:
buildMessage
in interfaceMessageBuilder
-