public abstract class AbstractEmailBuilder extends Object implements EmailBuilder
Constructor and Description |
---|
AbstractEmailBuilder() |
Modifier and Type | Method and Description |
---|---|
Email |
build(NotificationContext context,
Event event,
String addressFrom)
Builds an email message from the given notification context and event.
|
boolean |
shouldBuild(NotificationContext context,
Event event)
Indicates whether this email builder should build the email given the
NotificationContext and Event |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accepts
public boolean shouldBuild(NotificationContext context, Event event)
NotificationContext
and Event
shouldBuild
in interface EmailBuilder
context
- The notification context.event
- The event.true
if the email builder should build the email.public Email build(NotificationContext context, Event event, String addressFrom)
build
in interface EmailBuilder
context
- The notification context.event
- The event.addressFrom
- The address from with to send the email."Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"