public override void parseConfiguration(Element activityElement, DeploymentEntity deployment, ProcessDefinitionEntity processDefinition, BpmnParse bpmnParse) { base.parseConfiguration(activityElement, deployment, processDefinition, bpmnParse); ExpressionManager expressionManager = Context.ProcessEngineConfiguration.ExpressionManager; string formKeyAttribute = activityElement.attributeNS(BpmnParse.CAMUNDA_BPMN_EXTENSIONS_NS, "formKey"); if (!string.ReferenceEquals(formKeyAttribute, null)) { this.formKey = expressionManager.createExpression(formKeyAttribute); } if (formKey != null) { processDefinition.StartFormKey = true; } }
public override void parseServiceTask(Element serviceTaskElement, ScopeImpl scope, ActivityImpl activity) { Element connectorDefinition = findCamundaExtensionElement(serviceTaskElement, "connector"); if (connectorDefinition != null) { Element connectorIdElement = connectorDefinition.element("connectorId"); string connectorId = null; if (connectorIdElement != null) { connectorId = connectorIdElement.Text.Trim(); } if (connectorIdElement == null || connectorId.Length == 0) { throw new BpmnParseException("No 'id' defined for connector.", connectorDefinition); } IoMapping ioMapping = parseInputOutput(connectorDefinition); activity.ActivityBehavior = new ServiceTaskConnectorActivityBehavior(connectorId, ioMapping); } }
public override void parseUserTask(Element userTaskElement, ScopeImpl scope, ActivityImpl activity) { addListeners(activity); }
public override void parseManualTask(Element manualTaskElement, ScopeImpl scope, ActivityImpl activity) { addListeners(activity); }
public override void parseBusinessRuleTask(Element businessRuleTaskElement, ScopeImpl scope, ActivityImpl activity) { addListeners(activity); }
public override void parseScriptTask(Element scriptTaskElement, ScopeImpl scope, ActivityImpl activity) { addListeners(activity); }
public override void parseParallelGateway(Element parallelGwElement, ScopeImpl scope, ActivityImpl activity) { addListeners(activity); }
public override void parseInclusiveGateway(Element inclusiveGwElement, ScopeImpl scope, ActivityImpl activity) { addListeners(activity); }
public override void parseBoundaryEvent(Element boundaryEventElement, ScopeImpl scopeElement, ActivityImpl activity) { addListeners(activity); }
public override void parseIntermediateCatchEvent(Element intermediateEventElement, ScopeImpl scope, ActivityImpl activity) { addListeners(activity); }
public override void parseTransaction(Element transactionElement, ScopeImpl scope, ActivityImpl activity) { addListeners(activity); }
public override void parseEventBasedGateway(Element eventBasedGwElement, ScopeImpl scope, ActivityImpl activity) { addListeners(activity); }
public override void parseReceiveTask(Element receiveTaskElement, ScopeImpl scope, ActivityImpl activity) { addListeners(activity); }
public override void parseCallActivity(Element callActivityElement, ScopeImpl scope, ActivityImpl activity) { addListeners(activity); }
public virtual void parseConfiguration(Element activityElement, DeploymentEntity deployment, ProcessDefinitionEntity processDefinition, BpmnParse bpmnParse) { // do nothing }
public override void parseEndEvent(Element endEventElement, ScopeImpl scope, ActivityImpl activity) { addListeners(activity); }
public override void parseSubProcess(Element subProcessElement, ScopeImpl scope, ActivityImpl activity) { addListeners(activity); }
public override void parseMultiInstanceLoopCharacteristics(Element activityElement, Element multiInstanceLoopCharacteristicsElement, ActivityImpl activity) { addListeners(activity); }