org.activiti.bpmn.model.Process.getExecutionListeners()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(2.4k)|赞(0)|评价(0)|浏览(181)

本文整理了Java中org.activiti.bpmn.model.Process.getExecutionListeners()方法的一些代码示例,展示了Process.getExecutionListeners()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Process.getExecutionListeners()方法的具体详情如下:
包路径:org.activiti.bpmn.model.Process
类名称:Process
方法名:getExecutionListeners

Process.getExecutionListeners介绍

暂无

代码示例

代码示例来源:origin: Activiti/Activiti

@Override
protected void executeValidation(BpmnModel bpmnModel, Process process, List<ValidationError> errors) {
 validateListeners(process, process, process.getExecutionListeners(), errors);
 for (FlowElement flowElement : process.getFlowElements()) {
  validateListeners(process, flowElement, flowElement.getExecutionListeners(), errors);
 }
}

代码示例来源:origin: Activiti/Activiti

((Process) element).getExecutionListeners().add(listener);
} else if (element instanceof SequenceFlow) {
 ((SequenceFlow) element).getExecutionListeners().add(listener);

代码示例来源:origin: Activiti/Activiti

if (CollectionUtil.isNotEmpty(process.getExecutionListeners())) {
  executeExecutionListeners(process,
               processInstanceExecution,

代码示例来源:origin: Activiti/Activiti

propertiesNode);
BpmnJsonConverterUtil.convertListenersToJson(mainProcess.getExecutionListeners(),
                       true,
                       propertiesNode);

代码示例来源:origin: org.activiti/activiti-process-validation

@Override
protected void executeValidation(BpmnModel bpmnModel, Process process, List<ValidationError> errors) {
 validateListeners(process, process, process.getExecutionListeners(), errors);
 for (FlowElement flowElement : process.getFlowElements()) {
  validateListeners(process, flowElement, flowElement.getExecutionListeners(), errors);
 }
}

代码示例来源:origin: org.activiti/activiti-json-converter

((Process) element).getExecutionListeners().add(listener);
} else if (element instanceof SequenceFlow) {
 ((SequenceFlow) element).getExecutionListeners().add(listener);

代码示例来源:origin: org.activiti/activiti-engine

if (CollectionUtil.isNotEmpty(process.getExecutionListeners())) {
 executeExecutionListeners(process, processInstanceExecution, ExecutionListener.EVENTNAME_END);

代码示例来源:origin: org.activiti/activiti-json-converter

BpmnJsonConverterUtil.convertListenersToJson(mainProcess.getExecutionListeners(), true, propertiesNode);
BpmnJsonConverterUtil.convertEventListenersToJson(mainProcess.getEventListeners(), propertiesNode);
BpmnJsonConverterUtil.convertSignalDefinitionsToJson(model, propertiesNode);

代码示例来源:origin: com.bbossgroups.activiti/activiti-engine

createExecutionListenersOnScope(bpmnParse, process.getExecutionListeners(), currentProcessDefinition);

相关文章