use of org.kie.workbench.common.stunner.bpmn.definition.property.general.SLADueDate in project kie-wb-common by kiegroup.
the class ProcessErrorRefProviderTest method mockStartErrorEventNode.
private Element mockStartErrorEventNode(String errorRefValue) {
StartErrorEvent event = new StartErrorEvent();
event.setExecutionSet(new InterruptingErrorEventExecutionSet(new IsInterrupting(true), new SLADueDate(), new ErrorRef(errorRefValue)));
return mockNode(event);
}
use of org.kie.workbench.common.stunner.bpmn.definition.property.general.SLADueDate in project kie-wb-common by kiegroup.
the class ProcessErrorRefProviderTest method mockIntermediateErrorEventCatchingNode.
private Node mockIntermediateErrorEventCatchingNode(String errorRefValue) {
IntermediateErrorEventCatching event = new IntermediateErrorEventCatching();
event.setExecutionSet(new CancellingErrorEventExecutionSet(new CancelActivity(true), new SLADueDate(), new ErrorRef(errorRefValue)));
return mockNode(event);
}
use of org.kie.workbench.common.stunner.bpmn.definition.property.general.SLADueDate in project kie-wb-common by kiegroup.
the class ProcessSignalRefProviderTest method mockStartSignalEventNode.
private Node mockStartSignalEventNode(String signalRefValue) {
StartSignalEvent event = new StartSignalEvent();
event.setExecutionSet(new InterruptingSignalEventExecutionSet(new IsInterrupting(true), new SLADueDate(), new SignalRef(signalRefValue)));
return mockNode(event);
}
use of org.kie.workbench.common.stunner.bpmn.definition.property.general.SLADueDate in project kie-wb-common by kiegroup.
the class ProcessSignalRefProviderTest method mockIntermediateSignalEventCatchingNode.
private Node mockIntermediateSignalEventCatchingNode(String signalRefValue) {
IntermediateSignalEventCatching event = new IntermediateSignalEventCatching();
event.setExecutionSet(new CancellingSignalEventExecutionSet(new CancelActivity(true), new SLADueDate(), new SignalRef(signalRefValue)));
return mockNode(event);
}
use of org.kie.workbench.common.stunner.bpmn.definition.property.general.SLADueDate in project kie-wb-common by kiegroup.
the class ProcessMessageRefProviderTest method mockStartMessageEventNode.
private Element mockStartMessageEventNode(String messageRefValue) {
StartMessageEvent event = new StartMessageEvent();
event.setExecutionSet(new InterruptingMessageEventExecutionSet(new IsInterrupting(true), new SLADueDate(), new MessageRef(messageRefValue, "")));
return mockNode(event);
}
Aggregations