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.