Class CollectBpmnFlowNodes

java.lang.Object
org.camunda.community.bpmndt.cmd.CollectBpmnFlowNodes
All Implemented Interfaces:
Function<org.camunda.bpm.model.bpmn.instance.Process,Collection<org.camunda.bpm.model.bpmn.instance.FlowNode>>

public class CollectBpmnFlowNodes extends Object implements Function<org.camunda.bpm.model.bpmn.instance.Process,Collection<org.camunda.bpm.model.bpmn.instance.FlowNode>>
Collects all BPMN flow nodes under a given BPMN process element - this includes the flow nodes of all (embedded) sub processes.
  • Constructor Details

    • CollectBpmnFlowNodes

      public CollectBpmnFlowNodes()
  • Method Details

    • apply

      public Collection<org.camunda.bpm.model.bpmn.instance.FlowNode> apply(org.camunda.bpm.model.bpmn.instance.Process process)
      Specified by:
      apply in interface Function<org.camunda.bpm.model.bpmn.instance.Process,Collection<org.camunda.bpm.model.bpmn.instance.FlowNode>>
    • collect

      protected void collect(List<org.camunda.bpm.model.bpmn.instance.FlowNode> flowNodes, Collection<org.camunda.bpm.model.bpmn.instance.FlowElement> elements)
    • collectSubProcesses

      protected void collectSubProcesses(List<org.camunda.bpm.model.bpmn.instance.FlowNode> flowNodes, Collection<org.camunda.bpm.model.bpmn.instance.SubProcess> subProcesses)