public abstract class AbstractEmailBuilder extends java.lang.Object implements EmailBuilder
| Constructor and Description |
|---|
AbstractEmailBuilder() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.commons.mail.Email |
build(NotificationContext context,
org.osgi.service.event.Event event,
java.lang.String addressFrom)
Builds an email message from the given notification context and event.
|
abstract Repository |
getRepository() |
boolean |
shouldBuild(NotificationContext context,
org.osgi.service.event.Event event)
Indicates whether this email builder should build the email given the
NotificationContext and Event |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacceptspublic boolean shouldBuild(NotificationContext context, org.osgi.service.event.Event event)
NotificationContext and EventshouldBuild in interface EmailBuildercontext - The notification context.event - The event.true if the email builder should build the email.public abstract Repository getRepository()
public org.apache.commons.mail.Email build(NotificationContext context, org.osgi.service.event.Event event, java.lang.String addressFrom)
build in interface EmailBuildercontext - The notification context.event - The event.addressFrom - The address from with to send the email."Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"