org.camunda.bpm.engine.impl.bpmn.behavior
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
public class MailActivityBehavior
- extends AbstractBpmnActivityBehavior
- Author:
- Joram Barrez, Frederik Heremans
| Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior |
checkIfCauseOfExceptionIsBpmnError, createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, isProcessEngineExceptionWithoutCause, isTransactionNotActive, propagateBpmnError, propagateError, propagateException, propagateExceptionAsError, signal, signalCompensationDone |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
protected static final BpmnBehaviorLogger LOG
to
protected Expression to
from
protected Expression from
cc
protected Expression cc
bcc
protected Expression bcc
subject
protected Expression subject
text
protected Expression text
html
protected Expression html
charset
protected Expression charset
MailActivityBehavior
public MailActivityBehavior()
execute
public void execute(ActivityExecution execution)
- Description copied from class:
FlowNodeActivityBehavior
- Default behaviour: just leave the activity with no extra functionality.
- Specified by:
execute in interface CoreActivityBehavior<ActivityExecution>- Specified by:
execute in interface ActivityBehavior- Overrides:
execute in class FlowNodeActivityBehavior
createEmail
protected org.apache.commons.mail.Email createEmail(String text,
String html)
createHtmlEmail
protected org.apache.commons.mail.HtmlEmail createHtmlEmail(String text,
String html)
createTextOnlyEmail
protected org.apache.commons.mail.SimpleEmail createTextOnlyEmail(String text)
addTo
protected void addTo(org.apache.commons.mail.Email email,
String to)
setFrom
protected void setFrom(org.apache.commons.mail.Email email,
String from)
addCc
protected void addCc(org.apache.commons.mail.Email email,
String cc)
addBcc
protected void addBcc(org.apache.commons.mail.Email email,
String bcc)
setSubject
protected void setSubject(org.apache.commons.mail.Email email,
String subject)
setMailServerProperties
protected void setMailServerProperties(org.apache.commons.mail.Email email)
setCharset
protected void setCharset(org.apache.commons.mail.Email email,
String charSetStr)
splitAndTrim
protected String[] splitAndTrim(String str)
getStringFromField
protected String getStringFromField(Expression expression,
DelegateExecution execution)
Copyright © 2017 camunda services GmbH. All rights reserved.