[jbpm-commits] JBoss JBPM SVN: r4521 - jbpm4/branches/email/modules/pvm/src/main/java/org/jbpm/pvm/internal/email/producer.
do-not-reply at jboss.org
do-not-reply at jboss.org
Thu Apr 9 15:15:57 EDT 2009
Author: bradsdavis
Date: 2009-04-09 15:15:57 -0400 (Thu, 09 Apr 2009)
New Revision: 4521
Modified:
jbpm4/branches/email/modules/pvm/src/main/java/org/jbpm/pvm/internal/email/producer/MailProducer.java
Log:
Updated again to move back to interface.
Modified: jbpm4/branches/email/modules/pvm/src/main/java/org/jbpm/pvm/internal/email/producer/MailProducer.java
===================================================================
--- jbpm4/branches/email/modules/pvm/src/main/java/org/jbpm/pvm/internal/email/producer/MailProducer.java 2009-04-09 19:15:44 UTC (rev 4520)
+++ jbpm4/branches/email/modules/pvm/src/main/java/org/jbpm/pvm/internal/email/producer/MailProducer.java 2009-04-09 19:15:57 UTC (rev 4521)
@@ -5,17 +5,8 @@
import org.apache.commons.mail.Email;
import org.jbpm.Execution;
-public abstract class MailProducer {
- protected String text;
- protected String subject;
-
- public abstract Collection<Email> produce(final Execution exe, final MailContext mailContext) throws Exception;
-
- public void setText(String text) {
- this.text = text;
- }
+public interface MailProducer {
- public void setSubject(String subject) {
- this.subject = subject;
- }
+ public Collection<Email> produce(final Execution exe, final MailContext mailContext) throws Exception;
+
}
\ No newline at end of file
More information about the jbpm-commits
mailing list