com.camunda.toolkit.jbpm.action
Class MailServiceAction
java.lang.Object
com.camunda.toolkit.jbpm.action.JBpmAction
com.camunda.toolkit.jbpm.action.MailServiceAction
- All Implemented Interfaces:
- java.io.Serializable, org.jbpm.graph.def.ActionHandler
public class MailServiceAction
- extends JBpmAction
This Action can call business services out of processes.
See Details in the Wiki>
This Action relies on the ServiceBroker (see See Details in the Wiki>)
to send mails. So it must be initialized before the first use of this action!
- Version:
- 0.9
- Author:
- Bernd Rücker
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MailServiceAction
public MailServiceAction()
blockSending
public boolean blockSending()
- overwrite this if you want to avoid sending mails in some circumstances
execute
public void execute(org.jbpm.graph.exe.ExecutionContext executionContext)
throws java.lang.Exception
- Throws:
java.lang.Exception
addParams
protected void addParams(com.camunda.commons.mail.MailTransformationObject mailObject)
throws java.lang.Exception
- Throws:
java.lang.Exception
getSubject
protected java.lang.String getSubject()
getReceipient
protected java.lang.String getReceipient()
getExecutionContext
protected org.jbpm.graph.exe.ExecutionContext getExecutionContext()
getFrom
protected java.lang.String getFrom()
getFromName
protected java.lang.String getFromName()
setFrom
public void setFrom(java.lang.String from)
setFromName
public void setFromName(java.lang.String fromName)
setIgnoreException
public void setIgnoreException(boolean ignoreException)
setParam
public void setParam(java.util.Collection param)
setReceipient
public void setReceipient(java.lang.String receipient)
setReceipientEval
public void setReceipientEval(java.lang.String receipientEval)
setSubject
public void setSubject(java.lang.String subject)
setSubjectEval
public void setSubjectEval(java.lang.String subjectEval)
setTemplate
public void setTemplate(java.lang.String template)
Copyright © 2007 camunda GmbH. All Rights Reserved.