Class Process

  • All Implemented Interfaces:
    Formula

    public class Process
    extends BpmnElement
    A class to represent processes in a BPMN Model
    Author:
    Benedikt Knopp
    • Constructor Summary

      Constructors 
      Constructor Description
      Process()
      Create a new instance
    • Method Summary

      Modifier and Type Method Description
      void addLane​(Lane lane)
      Add a lane to this process
      void addLanes​(java.util.Set<Lane> lanes)
      Add multiple lanes to this process
      void addNode​(BpmnNode node)
      Add a node to this process
      void addSubProcess​(Process subprocess)
      Add a process to this process
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Process

        public Process()
        Create a new instance
    • Method Detail

      • addNode

        public void addNode​(BpmnNode node)
        Add a node to this process
        Parameters:
        node - a node
      • addLane

        public void addLane​(Lane lane)
        Add a lane to this process
        Parameters:
        lane - a Lane
      • addLanes

        public void addLanes​(java.util.Set<Lane> lanes)
        Add multiple lanes to this process
        Parameters:
        lanes - some Lanes
      • addSubProcess

        public void addSubProcess​(Process subprocess)
        Add a process to this process
        Parameters:
        subprocess - a Process