Search in sources :

Example 16 with EscalationRef

use of org.kie.workbench.common.stunner.bpmn.definition.property.event.escalation.EscalationRef in project kie-wb-common by kiegroup.

the class ProcessEscalationRefProviderTest method mockStartEscalationEventNode.

private Node mockStartEscalationEventNode(String escalationRefValue) {
    StartEscalationEvent event = new StartEscalationEvent();
    event.setExecutionSet(new InterruptingEscalationEventExecutionSet(new IsInterrupting(true), new SLADueDate(), new EscalationRef(escalationRefValue)));
    return mockNode(event);
}
Also used : SLADueDate(org.kie.workbench.common.stunner.bpmn.definition.property.general.SLADueDate) InterruptingEscalationEventExecutionSet(org.kie.workbench.common.stunner.bpmn.definition.property.event.escalation.InterruptingEscalationEventExecutionSet) StartEscalationEvent(org.kie.workbench.common.stunner.bpmn.definition.StartEscalationEvent) IsInterrupting(org.kie.workbench.common.stunner.bpmn.definition.property.event.IsInterrupting) EscalationRef(org.kie.workbench.common.stunner.bpmn.definition.property.event.escalation.EscalationRef)

Example 17 with EscalationRef

use of org.kie.workbench.common.stunner.bpmn.definition.property.event.escalation.EscalationRef in project kie-wb-common by kiegroup.

the class ProcessEscalationRefProviderTest method mockEndEscalationEventNode.

private Node mockEndEscalationEventNode(String escalationRefValue) {
    EndEscalationEvent event = new EndEscalationEvent();
    event.setExecutionSet(new EscalationEventExecutionSet(new EscalationRef(escalationRefValue)));
    return mockNode(event);
}
Also used : EscalationEventExecutionSet(org.kie.workbench.common.stunner.bpmn.definition.property.event.escalation.EscalationEventExecutionSet) CancellingEscalationEventExecutionSet(org.kie.workbench.common.stunner.bpmn.definition.property.event.escalation.CancellingEscalationEventExecutionSet) InterruptingEscalationEventExecutionSet(org.kie.workbench.common.stunner.bpmn.definition.property.event.escalation.InterruptingEscalationEventExecutionSet) EndEscalationEvent(org.kie.workbench.common.stunner.bpmn.definition.EndEscalationEvent) EscalationRef(org.kie.workbench.common.stunner.bpmn.definition.property.event.escalation.EscalationRef)

Aggregations

EscalationRef (org.kie.workbench.common.stunner.bpmn.definition.property.event.escalation.EscalationRef)17 DataIOSet (org.kie.workbench.common.stunner.bpmn.definition.property.dataio.DataIOSet)10 BPMNGeneralSet (org.kie.workbench.common.stunner.bpmn.definition.property.general.BPMNGeneralSet)10 AdvancedData (org.kie.workbench.common.stunner.bpmn.definition.property.variables.AdvancedData)10 CancellingEscalationEventExecutionSet (org.kie.workbench.common.stunner.bpmn.definition.property.event.escalation.CancellingEscalationEventExecutionSet)9 InterruptingEscalationEventExecutionSet (org.kie.workbench.common.stunner.bpmn.definition.property.event.escalation.InterruptingEscalationEventExecutionSet)9 SLADueDate (org.kie.workbench.common.stunner.bpmn.definition.property.general.SLADueDate)8 Test (org.junit.Test)7 EscalationEventExecutionSet (org.kie.workbench.common.stunner.bpmn.definition.property.event.escalation.EscalationEventExecutionSet)7 BackgroundSet (org.kie.workbench.common.stunner.bpmn.definition.property.background.BackgroundSet)4 CircleDimensionSet (org.kie.workbench.common.stunner.bpmn.definition.property.dimensions.CircleDimensionSet)4 CancelActivity (org.kie.workbench.common.stunner.bpmn.definition.property.event.CancelActivity)4 IsInterrupting (org.kie.workbench.common.stunner.bpmn.definition.property.event.IsInterrupting)4 Documentation (org.kie.workbench.common.stunner.bpmn.definition.property.general.Documentation)4 Name (org.kie.workbench.common.stunner.bpmn.definition.property.general.Name)4 Edge (org.kie.workbench.common.stunner.core.graph.Edge)4 View (org.kie.workbench.common.stunner.core.graph.content.view.View)4 EventPropertyReader (org.kie.workbench.common.stunner.bpmn.backend.converters.tostunner.properties.EventPropertyReader)3 IntermediateEscalationEvent (org.kie.workbench.common.stunner.bpmn.definition.IntermediateEscalationEvent)3 FontSet (org.kie.workbench.common.stunner.bpmn.definition.property.font.FontSet)3