Search in sources :

Example 16 with OnExitAction

use of org.kie.workbench.common.stunner.bpmn.definition.property.task.OnExitAction in project kie-wb-common by kiegroup.

the class GenericServiceTaskExecutionSetTest method testGetSlaDueDate.

@Test
public void testGetSlaDueDate() {
    GenericServiceTaskExecutionSet a = new GenericServiceTaskExecutionSet(new GenericServiceTaskInfo(), new AssignmentsInfo(), new AdHocAutostart(), new IsAsync(), new IsMultipleInstance(false), new MultipleInstanceExecutionMode(false), new MultipleInstanceCollectionInput(), new MultipleInstanceDataInput(), new MultipleInstanceCollectionOutput(), new MultipleInstanceDataOutput(), new MultipleInstanceCompletionCondition(), new OnEntryAction(new ScriptTypeListValue().addValue(new ScriptTypeValue("java", ""))), new OnExitAction(new ScriptTypeListValue().addValue(new ScriptTypeValue("java", ""))), new SLADueDate(SLA_DUE_DATE_1));
    assertEquals(SLA_DUE_DATE_1, a.getSlaDueDate().getValue());
}
Also used : AssignmentsInfo(org.kie.workbench.common.stunner.bpmn.definition.property.dataio.AssignmentsInfo) MultipleInstanceCollectionOutput(org.kie.workbench.common.stunner.bpmn.definition.property.task.MultipleInstanceCollectionOutput) OnExitAction(org.kie.workbench.common.stunner.bpmn.definition.property.task.OnExitAction) AdHocAutostart(org.kie.workbench.common.stunner.bpmn.definition.property.task.AdHocAutostart) OnEntryAction(org.kie.workbench.common.stunner.bpmn.definition.property.task.OnEntryAction) SLADueDate(org.kie.workbench.common.stunner.bpmn.definition.property.general.SLADueDate) MultipleInstanceCompletionCondition(org.kie.workbench.common.stunner.bpmn.definition.property.task.MultipleInstanceCompletionCondition) IsMultipleInstance(org.kie.workbench.common.stunner.bpmn.definition.property.task.IsMultipleInstance) MultipleInstanceCollectionInput(org.kie.workbench.common.stunner.bpmn.definition.property.task.MultipleInstanceCollectionInput) MultipleInstanceExecutionMode(org.kie.workbench.common.stunner.bpmn.definition.property.task.MultipleInstanceExecutionMode) MultipleInstanceDataInput(org.kie.workbench.common.stunner.bpmn.definition.property.task.MultipleInstanceDataInput) IsAsync(org.kie.workbench.common.stunner.bpmn.definition.property.task.IsAsync) ScriptTypeListValue(org.kie.workbench.common.stunner.bpmn.definition.property.task.ScriptTypeListValue) MultipleInstanceDataOutput(org.kie.workbench.common.stunner.bpmn.definition.property.task.MultipleInstanceDataOutput) ScriptTypeValue(org.kie.workbench.common.stunner.bpmn.definition.property.task.ScriptTypeValue) Test(org.junit.Test)

Example 17 with OnExitAction

use of org.kie.workbench.common.stunner.bpmn.definition.property.task.OnExitAction in project kie-wb-common by kiegroup.

the class BaseSubProcessConverter method convertMultiInstanceSubprocessNode.

private BpmnNode convertMultiInstanceSubprocessNode(SubProcess subProcess) {
    Node<View<MultipleInstanceSubprocess>, Edge> node = delegate.factoryManager.newNode(subProcess.getId(), MultipleInstanceSubprocess.class);
    MultipleInstanceSubprocess definition = node.getContent().getDefinition();
    MultipleInstanceSubProcessPropertyReader p = delegate.propertyReaderFactory.ofMultipleInstance(subProcess);
    definition.setGeneral(new BPMNGeneralSet(new Name(p.getName()), new Documentation(p.getDocumentation())));
    definition.setExecutionSet(new MultipleInstanceSubprocessTaskExecutionSet(new MultipleInstanceExecutionMode(p.isSequential()), new MultipleInstanceCollectionInput(p.getCollectionInput()), new MultipleInstanceCollectionOutput(p.getCollectionOutput()), new MultipleInstanceDataInput(p.getDataInput()), new MultipleInstanceDataOutput(p.getDataOutput()), new MultipleInstanceCompletionCondition(p.getCompletionCondition()), new OnEntryAction(p.getOnEntryAction()), new OnExitAction(p.getOnExitAction()), new IsMultipleInstance(true), new IsAsync(p.isAsync()), new SLADueDate(p.getSlaDueDate())));
    definition.setProcessData(new ProcessData(new ProcessVariables(p.getProcessVariables())));
    definition.setSimulationSet(p.getSimulationSet());
    definition.setAdvancedData(new AdvancedData(p.getMetaDataAttributes()));
    definition.setDimensionsSet(p.getRectangleDimensionsSet());
    definition.setFontSet(p.getFontSet());
    definition.setBackgroundSet(p.getBackgroundSet());
    node.getContent().setBounds(p.getBounds());
    return BpmnNode.of(node, p);
}
Also used : Documentation(org.kie.workbench.common.stunner.bpmn.definition.property.general.Documentation) MultipleInstanceSubProcessPropertyReader(org.kie.workbench.common.stunner.bpmn.backend.converters.tostunner.properties.MultipleInstanceSubProcessPropertyReader) MultipleInstanceCollectionOutput(org.kie.workbench.common.stunner.bpmn.definition.property.task.MultipleInstanceCollectionOutput) BPMNGeneralSet(org.kie.workbench.common.stunner.bpmn.definition.property.general.BPMNGeneralSet) OnExitAction(org.kie.workbench.common.stunner.bpmn.definition.property.task.OnExitAction) OnEntryAction(org.kie.workbench.common.stunner.bpmn.definition.property.task.OnEntryAction) View(org.kie.workbench.common.stunner.core.graph.content.view.View) MultipleInstanceSubprocessTaskExecutionSet(org.kie.workbench.common.stunner.bpmn.definition.property.task.MultipleInstanceSubprocessTaskExecutionSet) BaseProcessData(org.kie.workbench.common.stunner.bpmn.definition.property.variables.BaseProcessData) ProcessData(org.kie.workbench.common.stunner.bpmn.definition.property.variables.ProcessData) MultipleInstanceSubprocess(org.kie.workbench.common.stunner.bpmn.definition.MultipleInstanceSubprocess) Name(org.kie.workbench.common.stunner.bpmn.definition.property.general.Name) ProcessVariables(org.kie.workbench.common.stunner.bpmn.definition.property.variables.ProcessVariables) SLADueDate(org.kie.workbench.common.stunner.bpmn.definition.property.general.SLADueDate) AdvancedData(org.kie.workbench.common.stunner.bpmn.definition.property.variables.AdvancedData) MultipleInstanceCompletionCondition(org.kie.workbench.common.stunner.bpmn.definition.property.task.MultipleInstanceCompletionCondition) IsMultipleInstance(org.kie.workbench.common.stunner.bpmn.definition.property.task.IsMultipleInstance) MultipleInstanceCollectionInput(org.kie.workbench.common.stunner.bpmn.definition.property.task.MultipleInstanceCollectionInput) MultipleInstanceExecutionMode(org.kie.workbench.common.stunner.bpmn.definition.property.task.MultipleInstanceExecutionMode) MultipleInstanceDataInput(org.kie.workbench.common.stunner.bpmn.definition.property.task.MultipleInstanceDataInput) IsAsync(org.kie.workbench.common.stunner.bpmn.definition.property.task.IsAsync) Edge(org.kie.workbench.common.stunner.core.graph.Edge) MultipleInstanceDataOutput(org.kie.workbench.common.stunner.bpmn.definition.property.task.MultipleInstanceDataOutput)

Example 18 with OnExitAction

use of org.kie.workbench.common.stunner.bpmn.definition.property.task.OnExitAction in project kie-wb-common by kiegroup.

the class ConditionalComboBoxFieldRendererTest method init.

@Test
public void init() {
    resetMocks();
    EmbeddedSubprocess embeddedSubprocess = new EmbeddedSubprocess();
    OnEntryAction onEntryAction = embeddedSubprocess.getExecutionSet().getOnEntryAction();
    OnExitAction onExitAction = embeddedSubprocess.getExecutionSet().getOnExitAction();
    // static mock
    PowerMockito.mockStatic(ClientBindingUtils.class);
    BDDMockito.given(ClientBindingUtils.getProxiedValue(embeddedSubprocess, "onEntryAction")).willReturn(onEntryAction);
    BDDMockito.given(ClientBindingUtils.getProxiedValue(embeddedSubprocess, "onExitAction")).willReturn(onExitAction);
    // instances mock
    when(conditionalComboBoxFieldDefinition.getRelatedField()).thenReturn("onEntryAction;onExitAction");
    when(renderingContext.getModel()).thenReturn(embeddedSubprocess);
    when(adapterManager.forProperty()).thenReturn(Mockito.mock(PropertyAdapter.class));
    when(adapterManager.forProperty().getValue(onEntryAction)).thenReturn("value");
    when(adapterManager.forProperty().getValue(onExitAction)).thenReturn("");
    conditionalComboBoxFieldRenderer.init(renderingContext, conditionalComboBoxFieldDefinition);
    verify(conditionalComboBoxFieldRenderer, never()).setReadOnly(true);
    when(adapterManager.forProperty().getValue(onEntryAction)).thenReturn(null);
    when(adapterManager.forProperty().getValue(onExitAction)).thenReturn("");
    conditionalComboBoxFieldRenderer.init(renderingContext, conditionalComboBoxFieldDefinition);
    verify(conditionalComboBoxFieldRenderer, times(1)).setReadOnly(false);
}
Also used : EmbeddedSubprocess(org.kie.workbench.common.stunner.bpmn.definition.EmbeddedSubprocess) OnExitAction(org.kie.workbench.common.stunner.bpmn.definition.property.task.OnExitAction) PropertyAdapter(org.kie.workbench.common.stunner.core.definition.adapter.PropertyAdapter) OnEntryAction(org.kie.workbench.common.stunner.bpmn.definition.property.task.OnEntryAction) PrepareForTest(org.powermock.core.classloader.annotations.PrepareForTest) Test(org.junit.Test)

Example 19 with OnExitAction

use of org.kie.workbench.common.stunner.bpmn.definition.property.task.OnExitAction in project kie-wb-common by kiegroup.

the class ClientBPMNDocumentationServiceTest method setUp.

@Before
@SuppressWarnings("all")
public void setUp() throws Exception {
    // DiagramSet
    processName = new Name(PROCESS_NAME);
    processDocumentation = new Documentation(PROCESS_DOCUMENTATION);
    packageProperty = new Package(PROCESS_PACKAGE);
    type = new ProcessType();
    version = new Version(PROCESS_VERSION);
    adHoc = new AdHoc(PROCESS_IS_ADHOC);
    processInstanceDescription = new ProcessInstanceDescription(PROCESS_DECRIPTION);
    executable = new Executable(PROCESS_IS_EXECUTABLE);
    processId = new Id(PROCESS_UUID);
    globalVariables = new GlobalVariables(GLOBAL_VARIABLES);
    metaDataAttributes = new MetaDataAttributes(METADATA);
    slaDueDate = new SLADueDate(SLA_DUE_DATE);
    ImportsValue importsValue = new ImportsValue();
    importsValue.addImport(new DefaultImport(CLASS_NAME + "1"));
    importsValue.addImport(new DefaultImport(CLASS_NAME + "2"));
    importsValue.addImport(new DefaultImport(CLASS_NAME + "3"));
    importsValue.addImport(new WSDLImport(LOCATION + "1", NAMESPACE + "1"));
    importsValue.addImport(new WSDLImport(LOCATION + "2", NAMESPACE + "2"));
    importsValue.addImport(new WSDLImport(LOCATION + "3", NAMESPACE + "3"));
    importsValue.addImport(new WSDLImport(LOCATION + "4", NAMESPACE + "4"));
    imports = new Imports(importsValue);
    diagramSet = new DiagramSet(processName, processDocumentation, processId, packageProperty, type, version, adHoc, processInstanceDescription, imports, executable, slaDueDate);
    // ProcessData
    processVariables = new ProcessVariables(VARIABLES);
    processData = new ProcessData(processVariables);
    // AdvancedData
    globalVariables = new GlobalVariables(GLOBAL_VARIABLES);
    metaDataAttributes = new MetaDataAttributes(METADATA);
    advancedData = new RootProcessAdvancedData(globalVariables, metaDataAttributes);
    bpmnDiagram = new BPMNDiagramImpl(diagramSet, processData, new CaseManagementSet(), new BackgroundSet(), new FontSet(), new RectangleDimensionsSet(), advancedData);
    userTask = new UserTask(new TaskGeneralSet(new Name(TASK_NAME), new Documentation(TASK_DOC)), new UserTaskExecutionSet(new TaskName(TASK_NAME), new Actors(), new Groupid(TASK_GROUPID), new AssignmentsInfo(), new NotificationsInfo(), new ReassignmentsInfo(), new IsAsync(true), new Skippable(), new TaskPriority(TASK_PRIORITY), new Subject(TASK_SUBJECT), new Description(TASK_DESCRIPTION), new CreatedBy(), new AdHocAutostart(true), new IsMultipleInstance(false), new MultipleInstanceExecutionMode(), new MultipleInstanceCollectionInput(), new MultipleInstanceDataInput(), new MultipleInstanceCollectionOutput(), new MultipleInstanceDataOutput(), new MultipleInstanceCompletionCondition(), new OnEntryAction(new ScriptTypeListValue().addValue(new ScriptTypeValue())), new OnExitAction(new ScriptTypeListValue().addValue(new ScriptTypeValue())), new Content(), new SLADueDate()), new BackgroundSet(), new FontSet(), new RectangleDimensionsSet(), new SimulationSet(), new TaskType(TaskTypes.USER), new AdvancedData());
    embeddedSubprocess = new EmbeddedSubprocess(new BPMNGeneralSet(new Name(SUB_PROCESS_NAME), new Documentation(SUB_PROCESS_DOCUMENTATION)), new BackgroundSet(), new FontSet(), new RectangleDimensionsSet(), new SimulationSet(), new AdvancedData(), new EmbeddedSubprocessExecutionSet(new OnEntryAction(new ScriptTypeListValue().addValue(new ScriptTypeValue(LANGUAGE, SCRIPT))), new OnExitAction(new ScriptTypeListValue().addValue(new ScriptTypeValue(LANGUAGE, SCRIPT))), new IsAsync(false), new SLADueDate()), new ProcessData(SUB_PROCESS_VARIABLES));
    nodes = Arrays.asList(createNode(bpmnDiagram), createNode(userTask), createNode(embeddedSubprocess));
    when(diagram.getGraph()).thenReturn(graph);
    when(graph.nodes()).thenReturn(nodes);
    when(mustacheTemplateRenderer.render(eq(TEMPLATE), any(BPMNDocumentation.class))).thenReturn(RENDERED_DOC);
    when(decorators.getDecorator(anyString())).thenReturn(Optional.empty());
    // adapters mock
    when(definitionManager.adapters()).thenReturn(adapters);
    AdapterRegistry adapterRegistry = mock(AdapterRegistry.class);
    when(adapterRegistry.getDefinitionAdapter(any())).thenReturn(definitionAdapter);
    when(adapters.registry()).thenReturn(adapterRegistry);
    when(adapters.forDefinition()).thenReturn(definitionAdapter);
    when(adapters.forDefinitionSet()).thenReturn(definitionSetAdapter);
    when(adapters.forProperty()).thenReturn(propertyAdapter);
    when(definitionAdapter.getId(userTask)).thenReturn(userTaskId);
    when(definitionAdapter.getId(embeddedSubprocess)).thenReturn(subprocessId);
    when(definitionUtils.getName(bpmnDiagram)).thenReturn(PROCESS_NAME);
    when(definitionUtils.getName(userTask)).thenReturn(TASK_NAME);
    when(definitionUtils.getTitle(userTask.getClass().getName())).thenReturn(TASK_NAME);
    when(definitionUtils.getName(embeddedSubprocess)).thenReturn(SUB_PROCESS_NAME);
    when(definitionUtils.getTitle(embeddedSubprocess.getClass().getName())).thenReturn(SUB_PROCESS_NAME);
    // mock icons
    glyphProvider = (defId) -> glyphIcon;
    when(categoryDefinitionProvider.glyphProvider()).thenReturn(glyphProvider);
    when(glyphRenderer.render(eq(glyphIcon), anyDouble(), anyDouble())).thenReturn(iconElement);
    when(iconElement.getElement()).thenReturn(iconHTMLElement);
    when(iconHTMLElement.getInnerHTML()).thenReturn(ICON_HTML);
    when(shapeFactory.getGlyph(anyString())).thenReturn(imageStripGlyph);
    when(glyphRenderer.render(eq(imageStripGlyph), anyDouble(), anyDouble())).thenReturn(iconElement);
    when(userTaskId.value()).thenReturn(UserTask.class.getName());
    when(subprocessId.value()).thenReturn(EmbeddedSubprocess.class.getName());
    // adapters mock for task
    final TaskGeneralSet taskGeneral = userTask.getGeneral();
    final UserTaskExecutionSet taskExecutionSet = userTask.getExecutionSet();
    when(definitionAdapter.getCategory(eq(userTask))).thenReturn(BPMNCategories.ACTIVITIES);
    when(definitionAdapter.getPropertyFields(eq(userTask))).thenReturn(new String[] { "taskGeneral.documentation", "taskGeneral.name", "taskExecutionSet.subject", "taskExecutionSet.groupId", "taskExecutionSet.priority", "taskExecutionSet.assignmentsInfo", "taskExecutionSet.description" });
    when(definitionAdapter.getProperty(eq(userTask), eq("taskGeneral.documentation"))).thenReturn((Optional) Optional.of(taskGeneral.getDocumentation()));
    when(definitionAdapter.getProperty(eq(userTask), eq("taskGeneral.name"))).thenReturn((Optional) Optional.of(taskGeneral.getName()));
    when(definitionAdapter.getProperty(eq(userTask), eq("taskExecutionSet.subject"))).thenReturn((Optional) Optional.of(taskExecutionSet.getSubject()));
    when(definitionAdapter.getProperty(eq(userTask), eq("taskExecutionSet.groupId"))).thenReturn((Optional) Optional.of(taskExecutionSet.getGroupid()));
    when(definitionAdapter.getProperty(eq(userTask), eq("taskExecutionSet.priority"))).thenReturn((Optional) Optional.of(taskExecutionSet.getPriority()));
    when(definitionAdapter.getProperty(eq(userTask), eq("taskExecutionSet.assignmentsInfo"))).thenReturn((Optional) Optional.of(taskExecutionSet.getAssignmentsinfo()));
    when(definitionAdapter.getProperty(eq(userTask), eq("taskExecutionSet.description"))).thenReturn((Optional) Optional.of(taskExecutionSet.getDescription()));
    mockProperty(taskGeneral.getDocumentation(), TASK_DOCUMENTATION, DOCUMENTATION_CAPTION);
    mockProperty(taskGeneral, TASK_NAME, NAME_CAPTION);
    mockProperty(taskExecutionSet.getSubject(), TASK_SUBJECT, SUBJECT_CAPTION);
    mockProperty(taskExecutionSet.getGroupid(), TASK_GROUPID, GROUP_CAPTION);
    mockProperty(taskExecutionSet.getPriority(), TASK_PRIORITY, PRIORITY_CAPTION);
    mockProperty(taskExecutionSet.getDescription(), TASK_DESCRIPTION, DESCRIPTION_CAPTION);
    mockProperty(taskExecutionSet.getAssignmentsinfo(), "", ASSIGNEMNTS_CAPTION);
    when(decorators.getDecorator(taskExecutionSet.getAssignmentsinfo())).thenReturn(Optional.of(() -> ASSIGNEMNTS));
    // adapters mock for subprocess
    final BPMNGeneralSet subprocessGeneral = embeddedSubprocess.getGeneral();
    final EmbeddedSubprocessExecutionSet subprocessExecutionSet = embeddedSubprocess.getExecutionSet();
    when(definitionAdapter.getCategory(eq(embeddedSubprocess))).thenReturn(BPMNCategories.SUB_PROCESSES);
    when(definitionAdapter.getPropertyFields(eq(embeddedSubprocess))).thenReturn(new String[] { "subprocessGeneral.documentation", "subprocessGeneral.name", "subprocessExecutionSet.onEntryAction", "subprocessExecutionSet.onExitAction", "subprocessExecutionSet.isAsync" });
    when(definitionAdapter.getProperty(eq(embeddedSubprocess), eq("subprocessGeneral.documentation"))).thenReturn((Optional) Optional.of(subprocessGeneral.getDocumentation()));
    when(definitionAdapter.getProperty(eq(embeddedSubprocess), eq("subprocessGeneral.name"))).thenReturn((Optional) Optional.of(subprocessGeneral.getName()));
    when(definitionAdapter.getProperty(eq(embeddedSubprocess), eq("subprocessExecutionSet.onEntryAction"))).thenReturn((Optional) Optional.of(subprocessExecutionSet.getOnEntryAction()));
    when(definitionAdapter.getProperty(eq(embeddedSubprocess), eq("subprocessExecutionSet.onExitAction"))).thenReturn((Optional) Optional.of(subprocessExecutionSet.getOnExitAction()));
    when(definitionAdapter.getProperty(eq(embeddedSubprocess), eq("subprocessExecutionSet.isAsync"))).thenReturn((Optional) Optional.of(subprocessExecutionSet.getIsAsync()));
    mockProperty(subprocessGeneral.getDocumentation(), SUB_PROCESS_DOCUMENTATION, DOCUMENTATION_CAPTION);
    mockProperty(subprocessGeneral, SUB_PROCESS_NAME, NAME_CAPTION);
    mockProperty(subprocessExecutionSet.getOnEntryAction(), ON_ENTRY_ACTION, ON_ENTRY_CAPTION);
    mockProperty(subprocessExecutionSet.getOnExitAction(), ON_EXIT_ACTION, ON_EXIT_CAPTION);
    mockProperty(subprocessExecutionSet.getIsAsync(), "false", ISASYNC_CAPTION);
    tested = new ClientBPMNDocumentationService(mustacheTemplateRenderer, definitionManager, definitionUtils, shapeFactory, canvasFileExport, sessionManager, categoryDefinitionProvider, glyphRenderer, translationService, null, decorators);
}
Also used : TaskPriority(org.kie.workbench.common.stunner.bpmn.definition.property.task.TaskPriority) AssignmentsInfo(org.kie.workbench.common.stunner.bpmn.definition.property.dataio.AssignmentsInfo) TaskGeneralSet(org.kie.workbench.common.stunner.bpmn.definition.property.general.TaskGeneralSet) AdHocAutostart(org.kie.workbench.common.stunner.bpmn.definition.property.task.AdHocAutostart) AdapterRegistry(org.kie.workbench.common.stunner.core.registry.definition.AdapterRegistry) NotificationsInfo(org.kie.workbench.common.stunner.bpmn.definition.property.notification.NotificationsInfo) Name(org.kie.workbench.common.stunner.bpmn.definition.property.general.Name) TaskName(org.kie.workbench.common.stunner.bpmn.definition.property.task.TaskName) CaseManagementSet(org.kie.workbench.common.stunner.bpmn.definition.property.cm.CaseManagementSet) Groupid(org.kie.workbench.common.stunner.bpmn.definition.property.assignee.Groupid) ProcessVariables(org.kie.workbench.common.stunner.bpmn.definition.property.variables.ProcessVariables) GlobalVariables(org.kie.workbench.common.stunner.bpmn.definition.property.diagram.GlobalVariables) DefaultImport(org.kie.workbench.common.stunner.bpmn.definition.property.diagram.imports.DefaultImport) Version(org.kie.workbench.common.stunner.bpmn.definition.property.diagram.Version) TaskType(org.kie.workbench.common.stunner.bpmn.definition.property.task.TaskType) Executable(org.kie.workbench.common.stunner.bpmn.definition.property.diagram.Executable) CreatedBy(org.kie.workbench.common.stunner.bpmn.definition.property.task.CreatedBy) EmbeddedSubprocessExecutionSet(org.kie.workbench.common.stunner.bpmn.definition.property.subProcess.execution.EmbeddedSubprocessExecutionSet) BPMNDocumentation(org.kie.workbench.common.stunner.bpmn.documentation.model.BPMNDocumentation) Documentation(org.kie.workbench.common.stunner.bpmn.definition.property.general.Documentation) ProcessInstanceDescription(org.kie.workbench.common.stunner.bpmn.definition.property.diagram.ProcessInstanceDescription) Actors(org.kie.workbench.common.stunner.bpmn.definition.property.assignee.Actors) TaskName(org.kie.workbench.common.stunner.bpmn.definition.property.task.TaskName) DiagramSet(org.kie.workbench.common.stunner.bpmn.definition.property.diagram.DiagramSet) Content(org.kie.workbench.common.stunner.bpmn.definition.property.task.Content) ReassignmentsInfo(org.kie.workbench.common.stunner.bpmn.definition.property.reassignment.ReassignmentsInfo) Skippable(org.kie.workbench.common.stunner.bpmn.definition.property.task.Skippable) Package(org.kie.workbench.common.stunner.bpmn.definition.property.diagram.Package) AdHoc(org.kie.workbench.common.stunner.bpmn.definition.property.diagram.AdHoc) DefinitionId(org.kie.workbench.common.stunner.core.definition.adapter.DefinitionId) Id(org.kie.workbench.common.stunner.bpmn.definition.property.diagram.Id) MultipleInstanceDataInput(org.kie.workbench.common.stunner.bpmn.definition.property.task.MultipleInstanceDataInput) BPMNDocumentation(org.kie.workbench.common.stunner.bpmn.documentation.model.BPMNDocumentation) WSDLImport(org.kie.workbench.common.stunner.bpmn.definition.property.diagram.imports.WSDLImport) ScriptTypeListValue(org.kie.workbench.common.stunner.bpmn.definition.property.task.ScriptTypeListValue) RootProcessAdvancedData(org.kie.workbench.common.stunner.bpmn.definition.property.variables.RootProcessAdvancedData) ProcessInstanceDescription(org.kie.workbench.common.stunner.bpmn.definition.property.diagram.ProcessInstanceDescription) Description(org.kie.workbench.common.stunner.bpmn.definition.property.task.Description) UserTaskExecutionSet(org.kie.workbench.common.stunner.bpmn.definition.property.task.UserTaskExecutionSet) MultipleInstanceCollectionOutput(org.kie.workbench.common.stunner.bpmn.definition.property.task.MultipleInstanceCollectionOutput) Imports(org.kie.workbench.common.stunner.bpmn.definition.property.diagram.imports.Imports) SLADueDate(org.kie.workbench.common.stunner.bpmn.definition.property.general.SLADueDate) FontSet(org.kie.workbench.common.stunner.bpmn.definition.property.font.FontSet) ProcessType(org.kie.workbench.common.stunner.bpmn.definition.property.diagram.ProcessType) ImportsValue(org.kie.workbench.common.stunner.bpmn.definition.property.diagram.imports.ImportsValue) EmbeddedSubprocess(org.kie.workbench.common.stunner.bpmn.definition.EmbeddedSubprocess) BPMNDiagramImpl(org.kie.workbench.common.stunner.bpmn.definition.BPMNDiagramImpl) MultipleInstanceExecutionMode(org.kie.workbench.common.stunner.bpmn.definition.property.task.MultipleInstanceExecutionMode) MultipleInstanceDataOutput(org.kie.workbench.common.stunner.bpmn.definition.property.task.MultipleInstanceDataOutput) UserTask(org.kie.workbench.common.stunner.bpmn.definition.UserTask) OnExitAction(org.kie.workbench.common.stunner.bpmn.definition.property.task.OnExitAction) BPMNGeneralSet(org.kie.workbench.common.stunner.bpmn.definition.property.general.BPMNGeneralSet) RectangleDimensionsSet(org.kie.workbench.common.stunner.bpmn.definition.property.dimensions.RectangleDimensionsSet) OnEntryAction(org.kie.workbench.common.stunner.bpmn.definition.property.task.OnEntryAction) ProcessData(org.kie.workbench.common.stunner.bpmn.definition.property.variables.ProcessData) Subject(org.kie.workbench.common.stunner.bpmn.definition.property.task.Subject) MetaDataAttributes(org.kie.workbench.common.stunner.bpmn.definition.property.diagram.MetaDataAttributes) RootProcessAdvancedData(org.kie.workbench.common.stunner.bpmn.definition.property.variables.RootProcessAdvancedData) AdvancedData(org.kie.workbench.common.stunner.bpmn.definition.property.variables.AdvancedData) SimulationSet(org.kie.workbench.common.stunner.bpmn.definition.property.simulation.SimulationSet) BackgroundSet(org.kie.workbench.common.stunner.bpmn.definition.property.background.BackgroundSet) MultipleInstanceCompletionCondition(org.kie.workbench.common.stunner.bpmn.definition.property.task.MultipleInstanceCompletionCondition) IsMultipleInstance(org.kie.workbench.common.stunner.bpmn.definition.property.task.IsMultipleInstance) MultipleInstanceCollectionInput(org.kie.workbench.common.stunner.bpmn.definition.property.task.MultipleInstanceCollectionInput) IsAsync(org.kie.workbench.common.stunner.bpmn.definition.property.task.IsAsync) ScriptTypeValue(org.kie.workbench.common.stunner.bpmn.definition.property.task.ScriptTypeValue) Before(org.junit.Before)

Aggregations

OnEntryAction (org.kie.workbench.common.stunner.bpmn.definition.property.task.OnEntryAction)19 OnExitAction (org.kie.workbench.common.stunner.bpmn.definition.property.task.OnExitAction)19 IsAsync (org.kie.workbench.common.stunner.bpmn.definition.property.task.IsAsync)16 SLADueDate (org.kie.workbench.common.stunner.bpmn.definition.property.general.SLADueDate)14 AdHocAutostart (org.kie.workbench.common.stunner.bpmn.definition.property.task.AdHocAutostart)13 Documentation (org.kie.workbench.common.stunner.bpmn.definition.property.general.Documentation)11 Name (org.kie.workbench.common.stunner.bpmn.definition.property.general.Name)11 IsMultipleInstance (org.kie.workbench.common.stunner.bpmn.definition.property.task.IsMultipleInstance)11 ScriptTypeListValue (org.kie.workbench.common.stunner.bpmn.definition.property.task.ScriptTypeListValue)10 Test (org.junit.Test)9 AssignmentsInfo (org.kie.workbench.common.stunner.bpmn.definition.property.dataio.AssignmentsInfo)9 ScriptTypeValue (org.kie.workbench.common.stunner.bpmn.definition.property.task.ScriptTypeValue)9 MultipleInstanceCollectionInput (org.kie.workbench.common.stunner.bpmn.definition.property.task.MultipleInstanceCollectionInput)8 MultipleInstanceCollectionOutput (org.kie.workbench.common.stunner.bpmn.definition.property.task.MultipleInstanceCollectionOutput)8 MultipleInstanceCompletionCondition (org.kie.workbench.common.stunner.bpmn.definition.property.task.MultipleInstanceCompletionCondition)8 MultipleInstanceDataInput (org.kie.workbench.common.stunner.bpmn.definition.property.task.MultipleInstanceDataInput)8 MultipleInstanceDataOutput (org.kie.workbench.common.stunner.bpmn.definition.property.task.MultipleInstanceDataOutput)8 MultipleInstanceExecutionMode (org.kie.workbench.common.stunner.bpmn.definition.property.task.MultipleInstanceExecutionMode)8 TaskName (org.kie.workbench.common.stunner.bpmn.definition.property.task.TaskName)8 AdvancedData (org.kie.workbench.common.stunner.bpmn.definition.property.variables.AdvancedData)8