public ServiceTaskExecutionSet() { this(new TaskName("Service Task"), new IsAsync(), new AdHocAutostart(), new OnEntryAction(new ScriptTypeListValue().addValue(new ScriptTypeValue("java", ""))), new OnExitAction(new ScriptTypeListValue().addValue(new ScriptTypeValue("java", "")))); }
public BusinessRuleTaskExecutionSet() { this(new RuleLanguage(), new RuleFlowGroup(), new Namespace(), new DecisionName(), new DmnModelName(), new OnEntryAction(new ScriptTypeListValue().addValue(new ScriptTypeValue("java", ""))), new OnExitAction(new ScriptTypeListValue().addValue(new ScriptTypeValue("java", ""))), new IsAsync(), new AdHocAutostart()); }
public UserTaskExecutionSet() { this(new TaskName("Task"), new Actors(), new Groupid(), new AssignmentsInfo(), new IsAsync(), new Skippable(), new Priority(""), new Subject(""), new Description(""), new CreatedBy(), new AdHocAutostart(), new OnEntryAction(new ScriptTypeListValue().addValue(new ScriptTypeValue("java", ""))), new OnExitAction(new ScriptTypeListValue().addValue(new ScriptTypeValue("java", ""))), new Content(""), new SLADueDate("")); }
new OnExitAction(p.getOnExitAction()), new IsAsync(p.isAsync()), new AdHocAutostart(p.isAdHocAutoStart()) ));
private BpmnNode serviceTask(org.eclipse.bpmn2.Task task) { Node<View<ServiceTask>, Edge> node = factoryManager.newNode(task.getId(), ServiceTask.class); ServiceTask definition = node.getContent().getDefinition(); ServiceTaskPropertyReader p = propertyReaderFactory.ofCustom(task); definition.setName(p.getServiceTaskName()); definition.getTaskType().setRawType(p.getServiceTaskName()); definition.setDescription(p.getServiceTaskDescription()); definition.setCategory(p.getServiceTaskCategory()); definition.setDefaultHandler(p.getServiceTaskDefaultHandler()); definition.setGeneral(new TaskGeneralSet( new Name(p.getName()), new Documentation(p.getDocumentation()) )); definition.setDataIOSet(new DataIOSet( p.getAssignmentsInfo() )); definition.setExecutionSet(new ServiceTaskExecutionSet( new TaskName(p.getTaskName()), new IsAsync(p.isAsync()), new AdHocAutostart(p.isAdHocAutoStart()), new OnEntryAction(p.getOnEntryAction()), new OnExitAction(p.getOnExitAction()) )); definition.setSimulationSet(p.getSimulationSet()); node.getContent().setBounds(p.getBounds()); definition.setDimensionsSet(p.getRectangleDimensionsSet()); definition.setBackgroundSet(p.getBackgroundSet()); definition.setFontSet(p.getFontSet()); return BpmnNode.of(node); }
new Description(p.getDescription()), new CreatedBy(p.getCreatedBy()), new AdHocAutostart(p.isAdHocAutostart()), new OnEntryAction(p.getOnEntryAction()), new OnExitAction(p.getOnExitAction()),
executionSet.setIsAsync(new IsAsync(true)); executionSet.setSkippable(new Skippable(true)); executionSet.setAdHocAutostart(new AdHocAutostart(true)); executionSet.setAssignmentsinfo(new AssignmentsInfo( "|TaskTest:Boolean,Skippable:Object,GroupId:Object,Comment:Object,Description:Object,Priority:Object,CreatedBy:Object|" +