Skip to main content
Version: 4.1

Event

extends ExportableObject

Default exportable object for the bpmn2.Event element.

constructor​

constructor(cellView: dia.CellView, type?: string, marker?: string, interrupting?: boolean, label?: string);

Methods​

getEventDefinition()​

protected getEventDefinition(): EventDefinition;

Extracts event definition from the cell. Override this method to change how the event definition is retrieved. See EventDefinition type for more information.

isBoundaryEvent()​

protected isBoundaryEvent(): boolean;

Indicates whether the event is a boundary event. Override this method to show the export process that the element should be treated as a boundary event.

toEventXMLElement()​

toEventXMLElement(): Element;

Creates event XML element from the exportable object.

toShapeXMLElement()​

toShapeXMLElement(): Element;

Creates BPMNShape XML element from the exportable object.

Properties​

type​

type: string;

Event type.

marker​

marker: string | null;

Event marker.

interrupting​

interrupting: boolean;

Indicates whether the event is interrupting.

label​

label: string | null;

Event label.