Class MailActivityBehavior
java.lang.Object
org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
org.camunda.bpm.engine.impl.bpmn.behavior.MailActivityBehavior
- All Implemented Interfaces:
CoreActivityBehavior<ActivityExecution>
,ActivityBehavior
,SignallableActivityBehavior
- Author:
- Joram Barrez, Frederik Heremans
-
Field Summary
Modifier and TypeFieldDescriptionprotected Expression
protected Expression
protected Expression
protected Expression
protected Expression
protected static final BpmnBehaviorLogger
protected Expression
protected Expression
protected Expression
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
protected void
protected org.apache.commons.mail.Email
createEmail
(String text, String html) protected org.apache.commons.mail.HtmlEmail
createHtmlEmail
(String text, String html) protected org.apache.commons.mail.SimpleEmail
createTextOnlyEmail
(String text) void
execute
(ActivityExecution execution) Default behaviour: just leave the activity with no extra functionality.protected String
getStringFromField
(Expression expression, DelegateExecution execution) protected void
setCharset
(org.apache.commons.mail.Email email, String charSetStr) protected void
protected void
setMailServerProperties
(org.apache.commons.mail.Email email) protected void
setSubject
(org.apache.commons.mail.Email email, String subject) protected String[]
splitAndTrim
(String str) Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, signal, signalCompensationDone
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leave, leaveIgnoreConditions
-
Field Details
-
LOG
-
to
-
from
-
cc
-
bcc
-
subject
-
text
-
html
-
charset
-
-
Constructor Details
-
MailActivityBehavior
public MailActivityBehavior()
-
-
Method Details
-
execute
Description copied from class:FlowNodeActivityBehavior
Default behaviour: just leave the activity with no extra functionality.- Specified by:
execute
in interfaceActivityBehavior
- Specified by:
execute
in interfaceCoreActivityBehavior<ActivityExecution>
- Overrides:
execute
in classFlowNodeActivityBehavior
-
createEmail
-
createHtmlEmail
-
createTextOnlyEmail
-
addTo
-
setFrom
-
addCc
-
addBcc
-
setSubject
-
setMailServerProperties
protected void setMailServerProperties(org.apache.commons.mail.Email email) -
setCharset
-
splitAndTrim
-
getStringFromField
-