mailaction.java
来自「jboss jpdl-3.2.2 nolib」· Java 代码 · 共 20 行
JAVA
20 行
package org.jbpm.graph.action;
import org.dom4j.Element;
import org.jbpm.graph.def.Action;
import org.jbpm.jpdl.xml.JpdlXmlReader;
public class MailAction extends Action {
private static final long serialVersionUID = 1L;
public void read(Element element, JpdlXmlReader jpdlReader) {
String template = element.attributeValue("template");
String actors = element.attributeValue("actors");
String to = element.attributeValue("to");
String subject = jpdlReader.getProperty("subject", element);
String text = jpdlReader.getProperty("text", element);
actionDelegation = jpdlReader.createMailDelegation(template, actors, to, subject, text);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?