Search in sources :

Example 26 with SLADueDate

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);
}
Also used : SLADueDate(org.kie.workbench.common.stunner.bpmn.definition.property.general.SLADueDate) InterruptingErrorEventExecutionSet(org.kie.workbench.common.stunner.bpmn.definition.property.event.error.InterruptingErrorEventExecutionSet) ErrorRef(org.kie.workbench.common.stunner.bpmn.definition.property.event.error.ErrorRef) StartErrorEvent(org.kie.workbench.common.stunner.bpmn.definition.StartErrorEvent) IsInterrupting(org.kie.workbench.common.stunner.bpmn.definition.property.event.IsInterrupting)

Example 27 with SLADueDate

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);
}
Also used : SLADueDate(org.kie.workbench.common.stunner.bpmn.definition.property.general.SLADueDate) IntermediateErrorEventCatching(org.kie.workbench.common.stunner.bpmn.definition.IntermediateErrorEventCatching) CancellingErrorEventExecutionSet(org.kie.workbench.common.stunner.bpmn.definition.property.event.error.CancellingErrorEventExecutionSet) ErrorRef(org.kie.workbench.common.stunner.bpmn.definition.property.event.error.ErrorRef) CancelActivity(org.kie.workbench.common.stunner.bpmn.definition.property.event.CancelActivity)

Example 28 with SLADueDate

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);
}
Also used : SignalRef(org.kie.workbench.common.stunner.bpmn.definition.property.event.signal.SignalRef) SLADueDate(org.kie.workbench.common.stunner.bpmn.definition.property.general.SLADueDate) StartSignalEvent(org.kie.workbench.common.stunner.bpmn.definition.StartSignalEvent) IsInterrupting(org.kie.workbench.common.stunner.bpmn.definition.property.event.IsInterrupting) InterruptingSignalEventExecutionSet(org.kie.workbench.common.stunner.bpmn.definition.property.event.signal.InterruptingSignalEventExecutionSet)

Example 29 with SLADueDate

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);
}
Also used : SignalRef(org.kie.workbench.common.stunner.bpmn.definition.property.event.signal.SignalRef) SLADueDate(org.kie.workbench.common.stunner.bpmn.definition.property.general.SLADueDate) IntermediateSignalEventCatching(org.kie.workbench.common.stunner.bpmn.definition.IntermediateSignalEventCatching) CancellingSignalEventExecutionSet(org.kie.workbench.common.stunner.bpmn.definition.property.event.signal.CancellingSignalEventExecutionSet) CancelActivity(org.kie.workbench.common.stunner.bpmn.definition.property.event.CancelActivity)

Example 30 with SLADueDate

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);
}
Also used : SLADueDate(org.kie.workbench.common.stunner.bpmn.definition.property.general.SLADueDate) StartMessageEvent(org.kie.workbench.common.stunner.bpmn.definition.StartMessageEvent) MessageRef(org.kie.workbench.common.stunner.bpmn.definition.property.event.message.MessageRef) InterruptingMessageEventExecutionSet(org.kie.workbench.common.stunner.bpmn.definition.property.event.message.InterruptingMessageEventExecutionSet) IsInterrupting(org.kie.workbench.common.stunner.bpmn.definition.property.event.IsInterrupting)

Aggregations

SLADueDate (org.kie.workbench.common.stunner.bpmn.definition.property.general.SLADueDate)64 Test (org.junit.Test)31 AdvancedData (org.kie.workbench.common.stunner.bpmn.definition.property.variables.AdvancedData)28 Documentation (org.kie.workbench.common.stunner.bpmn.definition.property.general.Documentation)26 Name (org.kie.workbench.common.stunner.bpmn.definition.property.general.Name)26 BPMNGeneralSet (org.kie.workbench.common.stunner.bpmn.definition.property.general.BPMNGeneralSet)23 View (org.kie.workbench.common.stunner.core.graph.content.view.View)22 Edge (org.kie.workbench.common.stunner.core.graph.Edge)21 DataIOSet (org.kie.workbench.common.stunner.bpmn.definition.property.dataio.DataIOSet)19 CancelActivity (org.kie.workbench.common.stunner.bpmn.definition.property.event.CancelActivity)18 IsAsync (org.kie.workbench.common.stunner.bpmn.definition.property.task.IsAsync)18 CatchEventPropertyReader (org.kie.workbench.common.stunner.bpmn.backend.converters.tostunner.properties.CatchEventPropertyReader)15 IsInterrupting (org.kie.workbench.common.stunner.bpmn.definition.property.event.IsInterrupting)15 OnEntryAction (org.kie.workbench.common.stunner.bpmn.definition.property.task.OnEntryAction)14 OnExitAction (org.kie.workbench.common.stunner.bpmn.definition.property.task.OnExitAction)14 AdHocAutostart (org.kie.workbench.common.stunner.bpmn.definition.property.task.AdHocAutostart)12 AssignmentsInfo (org.kie.workbench.common.stunner.bpmn.definition.property.dataio.AssignmentsInfo)11 IsMultipleInstance (org.kie.workbench.common.stunner.bpmn.definition.property.task.IsMultipleInstance)10 ScriptTypeValue (org.kie.workbench.common.stunner.bpmn.definition.property.task.ScriptTypeValue)10 MultipleInstanceCollectionInput (org.kie.workbench.common.stunner.bpmn.definition.property.task.MultipleInstanceCollectionInput)9