Skip to content

Commit

Permalink
Properly read sequenceFlow listener
Browse files Browse the repository at this point in the history
  • Loading branch information
valb3r committed Jul 17, 2023
1 parent 7cb6ddb commit 94a03ba
Show file tree
Hide file tree
Showing 19 changed files with 219 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,8 @@ class ProcessNode: BpmnMappable<BpmnProcess>, ProcessBody() {
ReceiveTask.ReceiveTaskMapping::class,
ScriptTask.ScriptTaskMapping::class,
UserTask.UserTaskMapping::class,
StartEventNode.StartEventNodeMapping::class
StartEventNode.StartEventNodeMapping::class,
SequenceFlow.Mapping::class
])
interface BodyMapping {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@ import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlText
import com.valb3r.bpmn.intellij.plugin.activiti.parser.CDATA_FIELD
import com.valb3r.bpmn.intellij.plugin.activiti.parser.nodes.BpmnMappable
import com.valb3r.bpmn.intellij.plugin.activiti.parser.nodes.process.nested.formprop.ExecutionListener
import com.valb3r.bpmn.intellij.plugin.activiti.parser.nodes.process.nested.formprop.ExtensionElement
import com.valb3r.bpmn.intellij.plugin.bpmn.api.DoIgnore
import com.valb3r.bpmn.intellij.plugin.bpmn.api.bpmn.elements.BpmnSequenceFlow
import com.valb3r.bpmn.intellij.plugin.bpmn.api.bpmn.elements.ExeсutionListener
import com.valb3r.bpmn.intellij.plugin.bpmn.api.bpmn.elements.ListenerField
import org.mapstruct.Mapper
import org.mapstruct.factory.Mappers

Expand All @@ -28,8 +32,17 @@ data class SequenceFlow(
}

@Mapper(uses = [BpmnElementIdMapper::class])
interface Mapping {
fun convertToDto(input: SequenceFlow) : BpmnSequenceFlow
abstract class Mapping {

@DoIgnore
abstract fun doConvertToDto(input: SequenceFlow) : BpmnSequenceFlow

fun convertToDto(input: SequenceFlow) : BpmnSequenceFlow {
val sequenceFlow = doConvertToDto(input)
return sequenceFlow.copy(
executionListener = input.extensionElements?.filterIsInstance<ExecutionListener>()?.map { ExeсutionListener(it.clazz, it.event, it.fields?.map { ListenerField(it.name, it.string) }) },
)
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package com.valb3r.bpmn.intellij.plugin.activiti.parser

import com.valb3r.bpmn.intellij.plugin.activiti.parser.testevents.StringValueUpdatedEvent
import com.valb3r.bpmn.intellij.plugin.bpmn.api.BpmnProcessObject
import com.valb3r.bpmn.intellij.plugin.bpmn.api.PropertyTable
import com.valb3r.bpmn.intellij.plugin.bpmn.api.bpmn.BpmnElementId
import com.valb3r.bpmn.intellij.plugin.bpmn.api.events.EventPropagatableToXml
import com.valb3r.bpmn.intellij.plugin.bpmn.api.info.PropertyType
Expand All @@ -27,6 +28,10 @@ fun updateEvt(elemId: String, prop: PropertyType, newValue: String): StringValue
return StringValueUpdatedEvent(BpmnElementId(elemId), prop, newValue)
}

fun BpmnProcessObject.propsOf(elemId: String): PropertyTable {
return this.toView(ActivitiObjectFactory()).elemPropertiesByElementId[BpmnElementId(elemId)]!!
}

fun updateBpmnFile(parser: ActivitiParser, processName: String, events: List<EventPropagatableToXml>): String {
val updated = parser.update(
processName.asResource()!!,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package com.valb3r.bpmn.intellij.plugin.activiti.parser

import com.valb3r.bpmn.intellij.plugin.bpmn.api.BpmnProcessObject
import com.valb3r.bpmn.intellij.plugin.bpmn.api.info.PropertyType
import org.amshove.kluent.shouldBeEqualTo
import org.amshove.kluent.shouldHaveSingleItem
import org.junit.jupiter.api.Test

internal class SequenceFlowListenerTest {

@Test
fun `SequenceFlow listener is parseable`() {
val processObject: BpmnProcessObject?

processObject = ActivitiParser().parse("sequence-flow-listeners.bpmn20.xml".asResource()!!)

val sequenceFlow = processObject.process.body!!.sequenceFlow!!.shouldHaveSingleItem()
sequenceFlow.id.id.shouldBeEqualTo("sequenceFlow")
sequenceFlow.executionListener!!.shouldHaveSingleItem().clazz.shouldBeEqualTo("de.test")
processObject.propsOf("sequenceFlow")[PropertyType.EXECUTION_LISTENER_CLASS]!!.value.shouldBeEqualTo("de.test")
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,4 @@ internal class ExtraBoundaryEventPropertiesTest {
private fun readAndUpdate(elemId: String, property: PropertyType, newValue: String): BpmnProcessObject {
return readAndUpdateProcess(parser, FILE, updateEvt(elemId, property, newValue))
}

private fun BpmnProcessObject.propsOf(elemId: String): PropertyTable {
return this.toView(ActivitiObjectFactory()).elemPropertiesByElementId[BpmnElementId(elemId)]!!
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.activiti.org/processdef">
<process id="sequence-flow-listeners" name="sequence-flow-listeners" isExecutable="true">
<serviceTask id="sid-f9bd982f-6328-4bc3-ac38-d54f51c5e439" activiti:exclusive="true"/>
<serviceTask id="sid-bdc36743-0e2c-4702-96bd-9d4d71e0c71c" activiti:exclusive="true"/>
<sequenceFlow id="sequenceFlow" sourceRef="sid-f9bd982f-6328-4bc3-ac38-d54f51c5e439" targetRef="sid-bdc36743-0e2c-4702-96bd-9d4d71e0c71c">
<extensionElements xmlns="">
<activiti:executionListener class="de.test"/>
</extensionElements>
</sequenceFlow>
</process>
<bpmndi:BPMNDiagram id="BPMNDiagram_sequence-flow-listeners">
<bpmndi:BPMNPlane bpmnElement="sequence-flow-listeners" id="BPMNPlane_sequence-flow-listeners">
<bpmndi:BPMNShape id="shape-fdde8897-ec4c-4ec7-8dff-077a1b622d56" bpmnElement="sid-f9bd982f-6328-4bc3-ac38-d54f51c5e439">
<omgdc:Bounds x="55.0" y="80.0" width="100.0" height="80.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="shape-207fbe32-9af3-41ca-b199-6038eda18b52" bpmnElement="sid-bdc36743-0e2c-4702-96bd-9d4d71e0c71c">
<omgdc:Bounds x="315.0" y="80.0" width="100.0" height="80.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="edge-39228d1b-3375-46a6-a68c-28d658c7ad2d" bpmnElement="sequenceFlow">
<omgdi:waypoint x="155.0" y="120.0"/>
<omgdi:waypoint x="315.0" y="120.0"/>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</definitions>
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,8 @@ class ProcessNode: BpmnMappable<BpmnProcess>, ProcessBody() {
ScriptTask.ScriptTaskMapping::class,
UserTask.UserTaskMapping::class,
StartEventNode.StartEventNodeMapping::class,
IntermediateCatchEvent.Mapping::class
IntermediateCatchEvent.Mapping::class,
SequenceFlow.Mapping::class
])
interface BodyMapping {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@ import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlCData
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlText
import com.valb3r.bpmn.intellij.plugin.bpmn.api.DoIgnore
import com.valb3r.bpmn.intellij.plugin.bpmn.api.bpmn.elements.BpmnSequenceFlow
import com.valb3r.bpmn.intellij.plugin.bpmn.api.bpmn.elements.ExeсutionListener
import com.valb3r.bpmn.intellij.plugin.bpmn.api.bpmn.elements.ListenerField
import com.valb3r.bpmn.intellij.plugin.bpmn.parser.core.CDATA_FIELD
import com.valb3r.bpmn.intellij.plugin.camunda.parser.nodes.BpmnMappable
import com.valb3r.bpmn.intellij.plugin.camunda.parser.nodes.process.nested.formprop.ExecutionListener
import com.valb3r.bpmn.intellij.plugin.camunda.parser.nodes.process.nested.formprop.ExtensionElement
import org.mapstruct.Mapper
import org.mapstruct.factory.Mappers
Expand All @@ -30,8 +34,17 @@ data class SequenceFlow(
}

@Mapper(uses = [BpmnElementIdMapper::class])
interface Mapping {
fun convertToDto(input: SequenceFlow) : BpmnSequenceFlow
abstract class Mapping {

@DoIgnore
abstract fun doConvertToDto(input: SequenceFlow) : BpmnSequenceFlow

fun convertToDto(input: SequenceFlow) : BpmnSequenceFlow {
val sequenceFlow = doConvertToDto(input)
return sequenceFlow.copy(
executionListener = input.extensionElements?.filterIsInstance<ExecutionListener>()?.map { ExeсutionListener(it.clazz, it.event, it.fields?.map { ListenerField(it.name, it.string) }) },
)
}
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.valb3r.bpmn.intellij.plugin.camunda.parser

import com.valb3r.bpmn.intellij.plugin.bpmn.api.BpmnProcessObject
import com.valb3r.bpmn.intellij.plugin.bpmn.api.PropertyTable
import com.valb3r.bpmn.intellij.plugin.bpmn.api.bpmn.BpmnElementId
import com.valb3r.bpmn.intellij.plugin.bpmn.api.events.EventPropagatableToXml
import com.valb3r.bpmn.intellij.plugin.bpmn.api.info.Property
Expand Down Expand Up @@ -29,6 +30,9 @@ fun updateEvt(elemId: String, prop: PropertyType, newValue: String): StringValue
return StringValueUpdatedEvent(BpmnElementId(elemId), prop, newValue)
}

fun BpmnProcessObject.propsOf(elemId: String): PropertyTable {
return this.toView(CamundaObjectFactory()).elemPropertiesByElementId[BpmnElementId(elemId)]!!
}
fun updateBpmnFile(parser: CamundaParser, processName: String, events: List<EventPropagatableToXml>): String {
val updated = parser.update(
processName.asResource()!!,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package com.valb3r.bpmn.intellij.plugin.camunda.parser

import com.valb3r.bpmn.intellij.plugin.bpmn.api.BpmnProcessObject
import com.valb3r.bpmn.intellij.plugin.bpmn.api.info.PropertyType
import org.amshove.kluent.shouldBeEqualTo
import org.amshove.kluent.shouldHaveSingleItem
import org.junit.jupiter.api.Test

internal class SequenceFlowListenerTest {

@Test
fun `SequenceFlow listener is parseable`() {
val processObject: BpmnProcessObject?

processObject = CamundaParser().parse("sequence-flow-listeners.bpmn20.xml".asResource()!!)

val sequenceFlow = processObject.process.body!!.sequenceFlow!!.shouldHaveSingleItem()
sequenceFlow.id.id.shouldBeEqualTo("sequenceFlow")
sequenceFlow.executionListener!!.shouldHaveSingleItem().clazz.shouldBeEqualTo("de.test")
processObject.propsOf("sequenceFlow")[PropertyType.EXECUTION_LISTENER_CLASS]!!.value.shouldBeEqualTo("de.test")
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,4 @@ internal class ExtraBoundaryEventPropertiesTest {
private fun readAndUpdate(elemId: String, property: PropertyType, newValue: String): BpmnProcessObject {
return readAndUpdateProcess(parser, FILE, updateEvt(elemId, property, newValue))
}

private fun BpmnProcessObject.propsOf(elemId: String): PropertyTable {
return this.toView(CamundaObjectFactory()).elemPropertiesByElementId[BpmnElementId(elemId)]!!
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:camunda="http://camunda.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.camunda.org/processdef">
<process id="sequence-flow-listeners" name="sequence-flow-listeners" isExecutable="true">
<serviceTask id="sid-f9bd982f-6328-4bc3-ac38-d54f51c5e439" camunda:exclusive="true"/>
<serviceTask id="sid-bdc36743-0e2c-4702-96bd-9d4d71e0c71c" camunda:exclusive="true"/>
<sequenceFlow id="sequenceFlow" sourceRef="sid-f9bd982f-6328-4bc3-ac38-d54f51c5e439" targetRef="sid-bdc36743-0e2c-4702-96bd-9d4d71e0c71c">
<extensionElements xmlns="">
<camunda:executionListener class="de.test"/>
</extensionElements>
</sequenceFlow>
</process>
<bpmndi:BPMNDiagram id="BPMNDiagram_sequence-flow-listeners">
<bpmndi:BPMNPlane bpmnElement="sequence-flow-listeners" id="BPMNPlane_sequence-flow-listeners">
<bpmndi:BPMNShape id="shape-fdde8897-ec4c-4ec7-8dff-077a1b622d56" bpmnElement="sid-f9bd982f-6328-4bc3-ac38-d54f51c5e439">
<omgdc:Bounds x="55.0" y="80.0" width="100.0" height="80.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="shape-207fbe32-9af3-41ca-b199-6038eda18b52" bpmnElement="sid-bdc36743-0e2c-4702-96bd-9d4d71e0c71c">
<omgdc:Bounds x="315.0" y="80.0" width="100.0" height="80.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="edge-39228d1b-3375-46a6-a68c-28d658c7ad2d" bpmnElement="sequenceFlow">
<omgdi:waypoint x="155.0" y="120.0"/>
<omgdi:waypoint x="315.0" y="120.0"/>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</definitions>
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,8 @@ class ProcessNode : BpmnMappable<BpmnProcess>, ProcessBody() {
ReceiveTask.ReceiveTaskMapping::class,
ScriptTask.ScriptTaskMapping::class,
UserTask.UserTaskMapping::class,
StartEventNode.StartEventNodeMapping::class
StartEventNode.StartEventNodeMapping::class,
SequenceFlow.Mapping::class
]
)
interface BodyMapping {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,18 @@ import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlCData
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlText
import com.valb3r.bpmn.intellij.plugin.bpmn.api.DoIgnore
import com.valb3r.bpmn.intellij.plugin.bpmn.api.bpmn.elements.BpmnSequenceFlow
import com.valb3r.bpmn.intellij.plugin.bpmn.api.bpmn.elements.ExeсutionListener
import com.valb3r.bpmn.intellij.plugin.bpmn.api.bpmn.elements.ListenerField
import com.valb3r.bpmn.intellij.plugin.bpmn.parser.core.CDATA_FIELD
import com.valb3r.bpmn.intellij.plugin.flowable.parser.nodes.BpmnMappable
import com.valb3r.bpmn.intellij.plugin.flowable.parser.nodes.process.nested.formprop.ExecutionListener
import com.valb3r.bpmn.intellij.plugin.flowable.parser.nodes.process.nested.formprop.ExtensionElement
import org.mapstruct.Mapper
import org.mapstruct.factory.Mappers


data class SequenceFlow(
@JacksonXmlProperty(isAttribute = true) val id: String,
@JacksonXmlProperty(isAttribute = true) val name: String?,
Expand All @@ -28,8 +33,17 @@ data class SequenceFlow(
}

@Mapper(uses = [BpmnElementIdMapper::class])
interface Mapping {
fun convertToDto(input: SequenceFlow) : BpmnSequenceFlow
abstract class Mapping {

@DoIgnore
abstract fun doConvertToDto(input: SequenceFlow) : BpmnSequenceFlow

fun convertToDto(input: SequenceFlow) : BpmnSequenceFlow {
val sequenceFlow = doConvertToDto(input)
return sequenceFlow.copy(
executionListener = input.extensionElements?.filterIsInstance<ExecutionListener>()?.map { ExeсutionListener(it.clazz, it.event, it.fields?.map { ListenerField(it.name, it.string) }) },
)
}
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.valb3r.bpmn.intellij.plugin.flowable.parser

import com.valb3r.bpmn.intellij.plugin.bpmn.api.BpmnProcessObject
import com.valb3r.bpmn.intellij.plugin.bpmn.api.PropertyTable
import com.valb3r.bpmn.intellij.plugin.bpmn.api.bpmn.BpmnElementId
import com.valb3r.bpmn.intellij.plugin.bpmn.api.events.EventPropagatableToXml
import com.valb3r.bpmn.intellij.plugin.bpmn.api.info.PropertyType
Expand All @@ -27,6 +28,10 @@ fun updateEvt(elemId: String, prop: PropertyType, newValue: String): StringValue
return StringValueUpdatedEvent(BpmnElementId(elemId), prop, newValue)
}

fun BpmnProcessObject.propsOf(elemId: String): PropertyTable {
return this.toView(FlowableObjectFactory()).elemPropertiesByElementId[BpmnElementId(elemId)]!!
}

fun updateBpmnFile(parser: FlowableParser, processName: String, events: List<EventPropagatableToXml>): String {
val updated = parser.update(
processName.asResource()!!,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package com.valb3r.bpmn.intellij.plugin.flowable.parser

import com.valb3r.bpmn.intellij.plugin.bpmn.api.BpmnProcessObject
import com.valb3r.bpmn.intellij.plugin.bpmn.api.info.PropertyType
import org.amshove.kluent.shouldBeEqualTo
import org.amshove.kluent.shouldHaveSingleItem
import org.amshove.kluent.shouldNotBeNull
import org.junit.jupiter.api.Test

internal class SequenceFlowListenerTest {

@Test
fun `SequenceFlow listener is parseable`() {
val processObject: BpmnProcessObject?

processObject = FlowableParser().parse("sequence-flow-listeners.bpmn20.xml".asResource()!!)

val sequenceFlow = processObject.process.body!!.sequenceFlow!!.shouldHaveSingleItem()
sequenceFlow.id.id.shouldBeEqualTo("sequenceFlow")
sequenceFlow.executionListener!!.shouldHaveSingleItem().clazz.shouldBeEqualTo("de.test")
processObject.propsOf("sequenceFlow")[PropertyType.EXECUTION_LISTENER_CLASS]!!.value.shouldBeEqualTo("de.test")
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,4 @@ internal class ExtraBoundaryEventPropertiesTest {
private fun readAndUpdate(elemId: String, property: PropertyType, newValue: String): BpmnProcessObject {
return readAndUpdateProcess(parser, FILE, updateEvt(elemId, property, newValue))
}

private fun BpmnProcessObject.propsOf(elemId: String): PropertyTable {
return this.toView(FlowableObjectFactory()).elemPropertiesByElementId[BpmnElementId(elemId)]!!
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:flowable="http://flowable.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.flowable.org/processdef">
<process id="sequence-flow-listeners" name="sequence-flow-listeners" isExecutable="true">
<serviceTask id="sid-f9bd982f-6328-4bc3-ac38-d54f51c5e439" flowable:exclusive="true"/>
<serviceTask id="sid-bdc36743-0e2c-4702-96bd-9d4d71e0c71c" flowable:exclusive="true"/>
<sequenceFlow id="sequenceFlow" sourceRef="sid-f9bd982f-6328-4bc3-ac38-d54f51c5e439" targetRef="sid-bdc36743-0e2c-4702-96bd-9d4d71e0c71c">
<extensionElements xmlns="">
<flowable:executionListener class="de.test"/>
</extensionElements>
</sequenceFlow>
</process>
<bpmndi:BPMNDiagram id="BPMNDiagram_sequence-flow-listeners">
<bpmndi:BPMNPlane bpmnElement="sequence-flow-listeners" id="BPMNPlane_sequence-flow-listeners">
<bpmndi:BPMNShape id="shape-fdde8897-ec4c-4ec7-8dff-077a1b622d56" bpmnElement="sid-f9bd982f-6328-4bc3-ac38-d54f51c5e439">
<omgdc:Bounds x="55.0" y="80.0" width="100.0" height="80.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="shape-207fbe32-9af3-41ca-b199-6038eda18b52" bpmnElement="sid-bdc36743-0e2c-4702-96bd-9d4d71e0c71c">
<omgdc:Bounds x="315.0" y="80.0" width="100.0" height="80.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="edge-39228d1b-3375-46a6-a68c-28d658c7ad2d" bpmnElement="sequenceFlow">
<omgdi:waypoint x="155.0" y="120.0"/>
<omgdi:waypoint x="315.0" y="120.0"/>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</definitions>
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package com.valb3r.bpmn.intellij.plugin.bpmn.api

import org.mapstruct.Qualifier

@Qualifier // make sure that this is the MapStruct qualifier annotation
@Target(AnnotationTarget.FUNCTION)
@Retention(AnnotationRetention.SOURCE)
annotation class DoIgnore

0 comments on commit 94a03ba

Please sign in to comment.