code
stringlengths
23
201k
docstring
stringlengths
17
96.2k
func_name
stringlengths
0
235
language
stringclasses
1 value
repo
stringlengths
8
72
path
stringlengths
11
317
url
stringlengths
57
377
license
stringclasses
7 values
public ActivityImpl parseTask(Element taskElement, ScopeImpl scope) { ActivityImpl activity = createActivityOnScope(taskElement, scope); activity.setActivityBehavior(new TaskActivityBehavior()); parseAsynchronousContinuationForActivity(taskElement, activity); parseExecutionListenersOnScope(taskElement...
Parses a task with no specific type (behaves as passthrough).
parseTask
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected List<String> parseCommaSeparatedList(String s) { List<String> result = new ArrayList<>(); if (s != null && !"".equals(s)) { StringCharacterIterator iterator = new StringCharacterIterator(s); char c = iterator.first(); StringBuilder strb = new StringBuilder(); boolean insideEx...
Parses the given String as a list of comma separated entries, where an entry can possibly be an expression that has comma's. If somebody is smart enough to write a regex for this, please let us know. @return the entries of the comma separated list, trimmed.
parseCommaSeparatedList
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected void parseTaskListeners(Element userTaskElement, ActivityImpl activity, TaskDefinition taskDefinition) { Element extentionsElement = userTaskElement.element("extensionElements"); if (extentionsElement != null) { List<Element> taskListenerElements = extentionsElement.elementsNS(CAMUNDA_BPMN_EXTEN...
Parses the given String as a list of comma separated entries, where an entry can possibly be an expression that has comma's. If somebody is smart enough to write a regex for this, please let us know. @return the entries of the comma separated list, trimmed.
parseTaskListeners
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected TaskListener parseTaskListener(Element taskListenerElement, String taskElementId) { TaskListener taskListener = null; String className = taskListenerElement.attribute(PROPERTYNAME_CLASS); String expression = taskListenerElement.attribute(PROPERTYNAME_EXPRESSION); String delegateExpression = t...
Parses the given String as a list of comma separated entries, where an entry can possibly be an expression that has comma's. If somebody is smart enough to write a regex for this, please let us know. @return the entries of the comma separated list, trimmed.
parseTaskListener
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected TaskListener parseTimeoutTaskListener(Element taskListenerElement, ActivityImpl timerActivity, TaskDefinition taskDefinition) { String listenerId = taskListenerElement.attribute("id"); String timerActivityId = timerActivity.getId(); if (listenerId == null) { addError("Element 'id' is mandato...
Parses the given String as a list of comma separated entries, where an entry can possibly be an expression that has comma's. If somebody is smart enough to write a regex for this, please let us know. @return the entries of the comma separated list, trimmed.
parseTimeoutTaskListener
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
public void parseEndEvents(Element parentElement, ScopeImpl scope) { for (Element endEventElement : parentElement.elements("endEvent")) { ActivityImpl activity = createActivityOnScope(endEventElement, scope); Element errorEventDefinition = endEventElement.element(ERROR_EVENT_DEFINITION); Element ...
Parses the end events of a certain level in the process (process, subprocess or another scope). @param parentElement The 'parent' element that contains the end events (process, subprocess). @param scope The {@link ScopeImpl} to which the end events must be added.
parseEndEvents
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
public void parseBoundaryEvents(Element parentElement, ScopeImpl flowScope) { for (Element boundaryEventElement : parentElement.elements("boundaryEvent")) { // The boundary event is attached to an activity, reference by the // 'attachedToRef' attribute String attachedToRef = boundaryEventElement....
Parses the boundary events of a certain 'level' (process, subprocess or other scope). Note that the boundary events are not parsed during the parsing of the bpmn activities, since the semantics are different (boundaryEvent needs to be added as nested activity to the reference activity on PVM level). @param parentElem...
parseBoundaryEvents
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
public List<CamundaErrorEventDefinition> parseCamundaErrorEventDefinitions(ActivityImpl activity, Element scopeElement) { List<CamundaErrorEventDefinition> errorEventDefinitions = new ArrayList<>(); Element extensionElements = scopeElement.element("extensionElements"); if (extensionElements != null) { ...
Parses the boundary events of a certain 'level' (process, subprocess or other scope). Note that the boundary events are not parsed during the parsing of the bpmn activities, since the semantics are different (boundaryEvent needs to be added as nested activity to the reference activity on PVM level). @param parentElem...
parseCamundaErrorEventDefinitions
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected ActivityImpl getMultiInstanceScope(ActivityImpl activity) { if (activity.isMultiInstance()) { return activity.getParentFlowScopeActivity(); } else { return null; } }
Parses the boundary events of a certain 'level' (process, subprocess or other scope). Note that the boundary events are not parsed during the parsing of the bpmn activities, since the semantics are different (boundaryEvent needs to be added as nested activity to the reference activity on PVM level). @param parentElem...
getMultiInstanceScope
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
public void parseBoundaryTimerEventDefinition(Element timerEventDefinition, boolean interrupting, ActivityImpl boundaryActivity) { boundaryActivity.getProperties().set(BpmnProperties.TYPE, ActivityTypes.BOUNDARY_TIMER); TimerDeclarationImpl timerDeclaration = parseTimer(timerEventDefinition, boundaryActivity, T...
Parses a boundary timer event. The end-result will be that the given nested activity will get the appropriate {@link ActivityBehavior}. @param timerEventDefinition The XML element corresponding with the timer event details @param interrupting Indicates whether this timer is interrupting. @param bound...
parseBoundaryTimerEventDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
public void parseBoundarySignalEventDefinition(Element element, boolean interrupting, ActivityImpl signalActivity) { signalActivity.getProperties().set(BpmnProperties.TYPE, ActivityTypes.BOUNDARY_SIGNAL); EventSubscriptionDeclaration signalDefinition = parseSignalEventDefinition(element, false, signalActivity....
Parses a boundary timer event. The end-result will be that the given nested activity will get the appropriate {@link ActivityBehavior}. @param timerEventDefinition The XML element corresponding with the timer event details @param interrupting Indicates whether this timer is interrupting. @param bound...
parseBoundarySignalEventDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
public void parseBoundaryMessageEventDefinition(Element element, boolean interrupting, ActivityImpl messageActivity) { messageActivity.getProperties().set(BpmnProperties.TYPE, ActivityTypes.BOUNDARY_MESSAGE); EventSubscriptionDeclaration messageEventDefinition = parseMessageEventDefinition(element, messageActi...
Parses a boundary timer event. The end-result will be that the given nested activity will get the appropriate {@link ActivityBehavior}. @param timerEventDefinition The XML element corresponding with the timer event details @param interrupting Indicates whether this timer is interrupting. @param bound...
parseBoundaryMessageEventDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
@SuppressWarnings("unchecked") protected void parseTimerStartEventDefinition(Element timerEventDefinition, ActivityImpl timerActivity, ProcessDefinitionEntity processDefinition) { timerActivity.getProperties().set(BpmnProperties.TYPE, ActivityTypes.START_EVENT_TIMER); TimerDeclarationImpl timerDeclaration = p...
Parses a boundary timer event. The end-result will be that the given nested activity will get the appropriate {@link ActivityBehavior}. @param timerEventDefinition The XML element corresponding with the timer event details @param interrupting Indicates whether this timer is interrupting. @param bound...
parseTimerStartEventDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected void parseTimerStartEventDefinitionForEventSubprocess(Element timerEventDefinition, ActivityImpl timerActivity, boolean interrupting) { timerActivity.getProperties().set(BpmnProperties.TYPE, ActivityTypes.START_EVENT_TIMER); TimerDeclarationImpl timerDeclaration = parseTimer(timerEventDefinition, tim...
Parses a boundary timer event. The end-result will be that the given nested activity will get the appropriate {@link ActivityBehavior}. @param timerEventDefinition The XML element corresponding with the timer event details @param interrupting Indicates whether this timer is interrupting. @param bound...
parseTimerStartEventDefinitionForEventSubprocess
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected void parseEventDefinitionForSubprocess(EventSubscriptionDeclaration subscriptionDeclaration, ActivityImpl activity, Element element) { subscriptionDeclaration.setActivityId(activity.getId()); subscriptionDeclaration.setEventScopeActivityId(activity.getEventScope().getId()); subscriptionDeclaration...
Parses a boundary timer event. The end-result will be that the given nested activity will get the appropriate {@link ActivityBehavior}. @param timerEventDefinition The XML element corresponding with the timer event details @param interrupting Indicates whether this timer is interrupting. @param bound...
parseEventDefinitionForSubprocess
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected void parseIntermediateSignalEventDefinition(Element element, ActivityImpl signalActivity) { signalActivity.getProperties().set(BpmnProperties.TYPE, ActivityTypes.INTERMEDIATE_EVENT_SIGNAL); parseSignalCatchEventDefinition(element, signalActivity, false); for (BpmnParseListener parseListener : pa...
Parses a boundary timer event. The end-result will be that the given nested activity will get the appropriate {@link ActivityBehavior}. @param timerEventDefinition The XML element corresponding with the timer event details @param interrupting Indicates whether this timer is interrupting. @param bound...
parseIntermediateSignalEventDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected void parseSignalCatchEventDefinition(Element element, ActivityImpl signalActivity, boolean isStartEvent) { EventSubscriptionDeclaration signalDefinition = parseSignalEventDefinition(element, false, signalActivity.getId()); signalDefinition.setActivityId(signalActivity.getId()); signalDefinition.se...
Parses a boundary timer event. The end-result will be that the given nested activity will get the appropriate {@link ActivityBehavior}. @param timerEventDefinition The XML element corresponding with the timer event details @param interrupting Indicates whether this timer is interrupting. @param bound...
parseSignalCatchEventDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected EventSubscriptionDeclaration parseSignalEventDefinition(Element signalEventDefinitionElement, boolean isThrowing, String signalElementId) { String signalRef = signalEventDefinitionElement.attribute("signalRef"); if (signalRef == null) { addError("signalEventDefinition does not have required prop...
Parses the Signal Event Definition XML including payload definition. @param signalEventDefinitionElement the Signal Event Definition element @param isThrowing true if a Throwing signal event is being parsed @return
parseSignalEventDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected void parseIntermediateTimerEventDefinition(Element timerEventDefinition, ActivityImpl timerActivity) { timerActivity.getProperties().set(BpmnProperties.TYPE, ActivityTypes.INTERMEDIATE_EVENT_TIMER); TimerDeclarationImpl timerDeclaration = parseTimer(timerEventDefinition, timerActivity, TimerCatchInter...
Parses the Signal Event Definition XML including payload definition. @param signalEventDefinitionElement the Signal Event Definition element @param isThrowing true if a Throwing signal event is being parsed @return
parseIntermediateTimerEventDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected TimerDeclarationImpl parseTimer(Element timerEventDefinition, ActivityImpl timerActivity, String jobHandlerType) { // TimeDate TimerDeclarationType type = TimerDeclarationType.DATE; Expression expression = parseExpression(timerEventDefinition, "timeDate"); // TimeCycle if (expression == nu...
Parses the Signal Event Definition XML including payload definition. @param signalEventDefinitionElement the Signal Event Definition element @param isThrowing true if a Throwing signal event is being parsed @return
parseTimer
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected Expression parseExpression(Element parent, String name) { Element value = parent.element(name); if (value != null) { String expressionText = value.getText().trim(); return expressionManager.createExpression(expressionText); } return null; }
Parses the Signal Event Definition XML including payload definition. @param signalEventDefinitionElement the Signal Event Definition element @param isThrowing true if a Throwing signal event is being parsed @return
parseExpression
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
public void parseBoundaryErrorEventDefinition(Element errorEventDefinition, ActivityImpl boundaryEventActivity) { boundaryEventActivity.getProperties().set(BpmnProperties.TYPE, ActivityTypes.BOUNDARY_ERROR); String errorRef = errorEventDefinition.attribute("errorRef"); Error error = null; ErrorEventDe...
Parses the Signal Event Definition XML including payload definition. @param signalEventDefinitionElement the Signal Event Definition element @param isThrowing true if a Throwing signal event is being parsed @return
parseBoundaryErrorEventDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected void addErrorEventDefinition(ErrorEventDefinition errorEventDefinition, ScopeImpl catchingScope) { catchingScope.getProperties().addListItem(BpmnProperties.ERROR_EVENT_DEFINITIONS, errorEventDefinition); List<ErrorEventDefinition> errorEventDefinitions = catchingScope.getProperties().get(BpmnProperti...
Parses the Signal Event Definition XML including payload definition. @param signalEventDefinitionElement the Signal Event Definition element @param isThrowing true if a Throwing signal event is being parsed @return
addErrorEventDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected void parseBoundaryEscalationEventDefinition(Element escalationEventDefinitionElement, boolean cancelActivity, ActivityImpl boundaryEventActivity) { boundaryEventActivity.getProperties().set(BpmnProperties.TYPE, ActivityTypes.BOUNDARY_ESCALATION); EscalationEventDefinition escalationEventDefinition = ...
Parses the Signal Event Definition XML including payload definition. @param signalEventDefinitionElement the Signal Event Definition element @param isThrowing true if a Throwing signal event is being parsed @return
parseBoundaryEscalationEventDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected Escalation findEscalationForEscalationEventDefinition(Element escalationEventDefinition, String escalationElementId) { String escalationRef = escalationEventDefinition.attribute("escalationRef"); if (escalationRef == null) { addError("escalationEventDefinition does not have required attribute 'e...
Find the referenced escalation of the given escalation event definition. Add errors if the referenced escalation not found. @return referenced escalation or <code>null</code>, if referenced escalation not found
findEscalationForEscalationEventDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected EscalationEventDefinition createEscalationEventDefinitionForEscalationHandler(Element escalationEventDefinitionElement, ActivityImpl escalationHandler, boolean cancelActivity, String parentElementId) { EscalationEventDefinition escalationEventDefinition = new EscalationEventDefinition(escalationHandler, c...
Find the referenced escalation of the given escalation event definition. Add errors if the referenced escalation not found. @return referenced escalation or <code>null</code>, if referenced escalation not found
createEscalationEventDefinitionForEscalationHandler
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected void addEscalationEventDefinition(ScopeImpl catchingScope, EscalationEventDefinition escalationEventDefinition, Element element, String escalationElementId) { // ensure there is only one escalation handler (e.g. escalation boundary event, escalation event subprocess) what can catch the escalation event ...
Find the referenced escalation of the given escalation event definition. Add errors if the referenced escalation not found. @return referenced escalation or <code>null</code>, if referenced escalation not found
addEscalationEventDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected void addTimerDeclaration(ScopeImpl scope, TimerDeclarationImpl timerDeclaration) { scope.getProperties().putMapEntry(BpmnProperties.TIMER_DECLARATIONS, timerDeclaration.getActivityId(), timerDeclaration); }
Find the referenced escalation of the given escalation event definition. Add errors if the referenced escalation not found. @return referenced escalation or <code>null</code>, if referenced escalation not found
addTimerDeclaration
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected void addTimerListenerDeclaration(String listenerId, ScopeImpl scope, TimerDeclarationImpl timerDeclaration) { if (scope.getProperties().get(BpmnProperties.TIMEOUT_LISTENER_DECLARATIONS) != null && scope.getProperties().get(BpmnProperties.TIMEOUT_LISTENER_DECLARATIONS).get(timerDeclaration.getActivityId())...
Find the referenced escalation of the given escalation event definition. Add errors if the referenced escalation not found. @return referenced escalation or <code>null</code>, if referenced escalation not found
addTimerListenerDeclaration
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
@SuppressWarnings("unchecked") protected void addVariableDeclaration(ScopeImpl scope, VariableDeclaration variableDeclaration) { List<VariableDeclaration> variableDeclarations = (List<VariableDeclaration>) scope.getProperty(PROPERTYNAME_VARIABLE_DECLARATIONS); if (variableDeclarations == null) { variabl...
Find the referenced escalation of the given escalation event definition. Add errors if the referenced escalation not found. @return referenced escalation or <code>null</code>, if referenced escalation not found
addVariableDeclaration
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
public BoundaryConditionalEventActivityBehavior parseBoundaryConditionalEventDefinition(Element element, boolean interrupting, ActivityImpl conditionalActivity) { conditionalActivity.getProperties().set(BpmnProperties.TYPE, ActivityTypes.BOUNDARY_CONDITIONAL); ConditionalEventDefinition conditionalEventDefinit...
Parses the given element as conditional boundary event. @param element the XML element which contains the conditional event information @param interrupting indicates if the event is interrupting or not @param conditionalActivity the conditional event activity @return the boundary conditional event behavior which conta...
parseBoundaryConditionalEventDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
public ConditionalEventDefinition parseIntermediateConditionalEventDefinition(Element element, ActivityImpl conditionalActivity) { conditionalActivity.getProperties().set(BpmnProperties.TYPE, ActivityTypes.INTERMEDIATE_EVENT_CONDITIONAL); ConditionalEventDefinition conditionalEventDefinition = parseConditional...
Parses the given element as intermediate conditional event. @param element the XML element which contains the conditional event information @param conditionalActivity the conditional event activity @return returns the conditional activity with the parsed information
parseIntermediateConditionalEventDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
public ConditionalEventDefinition parseConditionalStartEventForEventSubprocess(Element element, ActivityImpl conditionalActivity, boolean interrupting) { conditionalActivity.getProperties().set(BpmnProperties.TYPE, ActivityTypes.START_EVENT_CONDITIONAL); ConditionalEventDefinition conditionalEventDefinition = ...
Parses the given element as conditional start event of an event subprocess. @param element the XML element which contains the conditional event information @param interrupting indicates if the event is interrupting or not @param conditionalActivity the conditional event activity @return
parseConditionalStartEventForEventSubprocess
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected ConditionalEventDefinition parseConditionalEventDefinition(Element element, ActivityImpl conditionalActivity) { ConditionalEventDefinition conditionalEventDefinition = null; Element conditionExprElement = element.element(CONDITION); String conditionalActivityId = conditionalActivity.getId(); ...
Parses the given element and returns an ConditionalEventDefinition object. @param element the XML element which contains the conditional event information @param conditionalActivity the conditional event activity @return the conditional event definition which was parsed
parseConditionalEventDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
public ActivityImpl parseSubProcess(Element subProcessElement, ScopeImpl scope) { ActivityImpl subProcessActivity = createActivityOnScope(subProcessElement, scope); subProcessActivity.setSubProcessScope(true); parseAsynchronousContinuationForActivity(subProcessElement, subProcessActivity); Boolean isT...
Parses a subprocess (formally known as an embedded subprocess): a subprocess defined within another process definition. @param subProcessElement The XML element corresponding with the subprocess definition @param scope The current scope on which the subprocess is defined.
parseSubProcess
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected ActivityImpl parseTransaction(Element transactionElement, ScopeImpl scope) { ActivityImpl activity = createActivityOnScope(transactionElement, scope); parseAsynchronousContinuationForActivity(transactionElement, activity); activity.setScope(true); activity.setSubProcessScope(true); activ...
Parses a subprocess (formally known as an embedded subprocess): a subprocess defined within another process definition. @param subProcessElement The XML element corresponding with the subprocess definition @param scope The current scope on which the subprocess is defined.
parseTransaction
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
public ActivityImpl parseCallActivity(Element callActivityElement, ScopeImpl scope, boolean isMultiInstance) { ActivityImpl activity = createActivityOnScope(callActivityElement, scope); // parse async parseAsynchronousContinuationForActivity(callActivityElement, activity); // parse definition key (and...
Parses a call activity (currently only supporting calling subprocesses). @param callActivityElement The XML element defining the call activity @param scope The current scope on which the call activity is defined.
parseCallActivity
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected void parseBinding(Element callActivityElement, ActivityImpl activity, BaseCallableElement callableElement, String bindingAttributeName) { String binding = callActivityElement.attributeNS(CAMUNDA_BPMN_EXTENSIONS_NS, bindingAttributeName); if (CallableElementBinding.DEPLOYMENT.getValue().equals(binding...
Parses a call activity (currently only supporting calling subprocesses). @param callActivityElement The XML element defining the call activity @param scope The current scope on which the call activity is defined.
parseBinding
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected void parseTenantId(Element callingActivityElement, ActivityImpl activity, BaseCallableElement callableElement, String attrName) { ParameterValueProvider tenantIdValueProvider = null; String tenantId = callingActivityElement.attributeNS(CAMUNDA_BPMN_EXTENSIONS_NS, attrName); if (tenantId != null &...
Parses a call activity (currently only supporting calling subprocesses). @param callActivityElement The XML element defining the call activity @param scope The current scope on which the call activity is defined.
parseTenantId
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected void parseVersion(Element callingActivityElement, ActivityImpl activity, BaseCallableElement callableElement, String bindingAttributeName, String versionAttributeName) { String version = null; CallableElementBinding binding = callableElement.getBinding(); version = callingActivityElement.attribut...
Parses a call activity (currently only supporting calling subprocesses). @param callActivityElement The XML element defining the call activity @param scope The current scope on which the call activity is defined.
parseVersion
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected void parseVersionTag(Element callingActivityElement, ActivityImpl activity, BaseCallableElement callableElement, String bindingAttributeName, String versionTagAttributeName) { String versionTag = null; CallableElementBinding binding = callableElement.getBinding(); versionTag = callingActivityElem...
Parses a call activity (currently only supporting calling subprocesses). @param callActivityElement The XML element defining the call activity @param scope The current scope on which the call activity is defined.
parseVersionTag
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected void parseInputParameter(Element elementWithParameters, CallableElement callableElement) { Element extensionsElement = elementWithParameters.element("extensionElements"); if (extensionsElement != null) { // input data elements for (Element inElement : extensionsElement.elementsNS(CAMUNDA_...
Parses a call activity (currently only supporting calling subprocesses). @param callActivityElement The XML element defining the call activity @param scope The current scope on which the call activity is defined.
parseInputParameter
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected void parseOutputParameter(Element callActivityElement, ActivityImpl activity, CallableElement callableElement) { Element extensionsElement = callActivityElement.element("extensionElements"); if (extensionsElement != null) { // output data elements for (Element outElement : extensionsEleme...
Parses a call activity (currently only supporting calling subprocesses). @param callActivityElement The XML element defining the call activity @param scope The current scope on which the call activity is defined.
parseOutputParameter
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected boolean attributeValueEquals(Element element, String attribute, String comparisonValue) { String value = element.attribute(attribute); return comparisonValue.equals(value); }
Parses a call activity (currently only supporting calling subprocesses). @param callActivityElement The XML element defining the call activity @param scope The current scope on which the call activity is defined.
attributeValueEquals
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected CallableElementParameter parseCallableElementProvider(Element parameterElement, String ancestorElementId) { CallableElementParameter parameter = new CallableElementParameter(); String variables = parameterElement.attribute("variables"); if (ALL.equals(variables)) { parameter.setAllVariable...
Parses a call activity (currently only supporting calling subprocesses). @param callActivityElement The XML element defining the call activity @param scope The current scope on which the call activity is defined.
parseCallableElementProvider
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
public void parseProperties(Element element, ActivityImpl activity) { List<Element> propertyElements = element.elements("property"); for (Element propertyElement : propertyElements) { parseProperty(propertyElement, activity); } }
Parses the properties of an element (if any) that can contain properties (processes, activities, etc.) Returns true if property subelemens are found. @param element The element that can contain properties. @param activity The activity where the property declaration is done.
parseProperties
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
public void parseProperty(Element propertyElement, ActivityImpl activity) { String id = propertyElement.attribute("id"); String name = propertyElement.attribute("name"); // If name isn't given, use the id as name if (name == null) { if (id == null) { addError("Invalid property usage on li...
Parses one property definition. @param propertyElement The 'property' element that defines how a property looks like and is handled.
parseProperty
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
public void parsePropertyCustomExtensions(ActivityImpl activity, Element propertyElement, String propertyName, String propertyType) { if (propertyType == null) { String type = propertyElement.attributeNS(CAMUNDA_BPMN_EXTENSIONS_NS, TYPE); propertyType = type != null ? type : "string"; // default is str...
Parses the custom extensions for properties. @param activity The activity where the property declaration is done. @param propertyElement The 'property' element defining the property. @param propertyName The name of the property. @param propertyType The type of the property.
parsePropertyCustomExtensions
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
public void parseSequenceFlow(Element processElement, ScopeImpl scope, Map<String, Element> compensationHandlers) { for (Element sequenceFlowElement : processElement.elements("sequenceFlow")) { String id = sequenceFlowElement.attribute("id"); String sourceRef = sequenceFlowElement.attribute("sourceRef"...
Parses all sequence flow of a scope. @param processElement The 'process' element wherein the sequence flow are defined. @param scope The scope to which the sequence flow must be added. @param compensationHandlers
parseSequenceFlow
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
public void parseSequenceFlowConditionExpression(Element seqFlowElement, TransitionImpl seqFlow) { Element conditionExprElement = seqFlowElement.element(CONDITION_EXPRESSION); if (conditionExprElement != null) { Condition condition = parseConditionExpression(conditionExprElement, seqFlow.getId()); s...
Parses a condition expression on a sequence flow. @param seqFlowElement The 'sequenceFlow' element that can contain a condition. @param seqFlow The sequenceFlow object representation to which the condition must be added.
parseSequenceFlowConditionExpression
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected Condition parseConditionExpression(Element conditionExprElement, String ancestorElementId) { String expression = conditionExprElement.getText().trim(); String type = conditionExprElement.attributeNS(XSI_NS, TYPE); String language = conditionExprElement.attribute(PROPERTYNAME_LANGUAGE); String ...
Parses a condition expression on a sequence flow. @param seqFlowElement The 'sequenceFlow' element that can contain a condition. @param seqFlow The sequenceFlow object representation to which the condition must be added.
parseConditionExpression
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
public void parseExecutionListenersOnScope(Element scopeElement, ScopeImpl scope) { Element extentionsElement = scopeElement.element("extensionElements"); String scopeElementId = scopeElement.attribute("id"); if (extentionsElement != null) { List<Element> listenerElements = extentionsElement.elementsN...
Parses all execution-listeners on a scope. @param scopeElement the XML element containing the scope definition. @param scope the scope to add the executionListeners to.
parseExecutionListenersOnScope
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected boolean isValidEventNameForScope(String eventName, Element listenerElement, String ancestorElementId) { if (eventName != null && eventName.trim().length() > 0) { if ("start".equals(eventName) || "end".equals(eventName)) { return true; } else { addError("Attribute 'event' must b...
Check if the given event name is valid. If not, an appropriate error is added.
isValidEventNameForScope
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
public void parseExecutionListenersOnTransition(Element activitiElement, TransitionImpl activity) { Element extensionElements = activitiElement.element("extensionElements"); if (extensionElements != null) { List<Element> listenerElements = extensionElements.elementsNS(CAMUNDA_BPMN_EXTENSIONS_NS, "executio...
Check if the given event name is valid. If not, an appropriate error is added.
parseExecutionListenersOnTransition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
public ExecutionListener parseExecutionListener(Element executionListenerElement, String ancestorElementId) { ExecutionListener executionListener = null; String className = executionListenerElement.attribute(PROPERTYNAME_CLASS); String expression = executionListenerElement.attribute(PROPERTYNAME_EXPRESSION...
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
parseExecutionListener
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
public void parseDiagramInterchangeElements() { // Multiple BPMNDiagram possible List<Element> diagrams = rootElement.elementsNS(BPMN_DI_NS, "BPMNDiagram"); if (!diagrams.isEmpty()) { for (Element diagramElement : diagrams) { parseBPMNDiagram(diagramElement); } } }
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
parseDiagramInterchangeElements
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
public void parseBPMNDiagram(Element bpmndiagramElement) { // Each BPMNdiagram needs to have exactly one BPMNPlane Element bpmnPlane = bpmndiagramElement.elementNS(BPMN_DI_NS, "BPMNPlane"); if (bpmnPlane != null) { parseBPMNPlane(bpmnPlane); } }
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
parseBPMNDiagram
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
public void parseBPMNPlane(Element bpmnPlaneElement) { String bpmnElement = bpmnPlaneElement.attribute("bpmnElement"); if (bpmnElement != null && !"".equals(bpmnElement)) { // there seems to be only on process without collaboration if (getProcessDefinition(bpmnElement) != null) { getProcessD...
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
parseBPMNPlane
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
public void parseBPMNShape(Element bpmnShapeElement) { String bpmnElement = bpmnShapeElement.attribute("bpmnElement"); if (bpmnElement != null && !"".equals(bpmnElement)) { // For collaborations, their are also shape definitions for the // participants / processes if (participantProcesses.get...
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
parseBPMNShape
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected void parseDIBounds(Element bpmnShapeElement, HasDIBounds target) { Element bounds = bpmnShapeElement.elementNS(BPMN_DC_NS, "Bounds"); if (bounds != null) { target.setX(parseDoubleAttribute(bpmnShapeElement, "x", bounds.attribute("x"), true).intValue()); target.setY(parseDoubleAttribute(bpm...
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
parseDIBounds
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
public void parseBPMNEdge(Element bpmnEdgeElement) { String sequenceFlowId = bpmnEdgeElement.attribute("bpmnElement"); if (sequenceFlowId != null && !"".equals(sequenceFlowId)) { if (sequenceFlows != null && sequenceFlows.containsKey(sequenceFlowId)) { TransitionImpl sequenceFlow = sequenceFlows....
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
parseBPMNEdge
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
public List<ProcessDefinitionEntity> getProcessDefinitions() { return processDefinitions; }
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
getProcessDefinitions
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
public ProcessDefinitionEntity getProcessDefinition(String processDefinitionKey) { for (ProcessDefinitionEntity processDefinition : processDefinitions) { if (processDefinition.getKey().equals(processDefinitionKey)) { return processDefinition; } } return null; }
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
getProcessDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
@Override public BpmnParse name(String name) { super.name(name); return this; }
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
name
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
@Override public BpmnParse sourceInputStream(InputStream inputStream) { super.sourceInputStream(inputStream); return this; }
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
sourceInputStream
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
@Override public BpmnParse sourceResource(String resource, ClassLoader classLoader) { super.sourceResource(resource, classLoader); return this; }
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
sourceResource
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
@Override public BpmnParse sourceResource(String resource) { super.sourceResource(resource); return this; }
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
sourceResource
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
@Override public BpmnParse sourceString(String string) { super.sourceString(string); return this; }
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
sourceString
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
@Override public BpmnParse sourceUrl(String url) { super.sourceUrl(url); return this; }
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
sourceUrl
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
@Override public BpmnParse sourceUrl(URL url) { super.sourceUrl(url); return this; }
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
sourceUrl
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
public Boolean parseBooleanAttribute(String booleanText, boolean defaultValue) { if (booleanText == null) { return defaultValue; } else { return parseBooleanAttribute(booleanText); } }
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
parseBooleanAttribute
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
public Boolean parseBooleanAttribute(String booleanText) { if (TRUE.equals(booleanText) || "enabled".equals(booleanText) || "on".equals(booleanText) || "active".equals(booleanText) || "yes".equals(booleanText)) { return Boolean.TRUE; } if ("false".equals(booleanText) || "disabled".equals(booleanText) ...
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
parseBooleanAttribute
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
public Double parseDoubleAttribute(Element element, String attributeName, String doubleText, boolean required) { if (required && (doubleText == null || "".equals(doubleText))) { addError(attributeName + " is required", element); } else { try { return Double.parseDouble(doubleText); } c...
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
parseDoubleAttribute
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected boolean isStartable(Element element) { return TRUE.equalsIgnoreCase(element.attributeNS(CAMUNDA_BPMN_EXTENSIONS_NS, "isStartableInTasklist", TRUE)); }
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
isStartable
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected boolean isExclusive(Element element) { return TRUE.equals(element.attributeNS(CAMUNDA_BPMN_EXTENSIONS_NS, "exclusive", String.valueOf(JobEntity.DEFAULT_EXCLUSIVE))); }
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
isExclusive
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected boolean isAsyncBefore(Element element) { return TRUE.equals(element.attributeNS(CAMUNDA_BPMN_EXTENSIONS_NS, "async")) || TRUE.equals(element.attributeNS(CAMUNDA_BPMN_EXTENSIONS_NS, "asyncBefore")); }
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
isAsyncBefore
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected boolean isAsyncAfter(Element element) { return TRUE.equals(element.attributeNS(CAMUNDA_BPMN_EXTENSIONS_NS, "asyncAfter")); }
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
isAsyncAfter
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected boolean isServiceTaskLike(Element element) { return element != null && ( element.attributeNS(CAMUNDA_BPMN_EXTENSIONS_NS, PROPERTYNAME_CLASS) != null || element.attributeNS(CAMUNDA_BPMN_EXTENSIONS_NS, PROPERTYNAME_EXPRESSION) != null || element.attributeNS(CAMUNDA_BPMN_EXTENSIONS...
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
isServiceTaskLike
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected boolean hasConnector(Element element) { Element extensionElements = element.element("extensionElements"); return extensionElements != null && extensionElements.element("connector") != null; }
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
hasConnector
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
public Map<String, List<JobDeclaration<?, ?>>> getJobDeclarations() { return jobDeclarations; }
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
getJobDeclarations
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
public List<JobDeclaration<?, ?>> getJobDeclarationsByKey(String processDefinitionKey) { return jobDeclarations.get(processDefinitionKey); }
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
getJobDeclarationsByKey
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected void parseActivityInputOutput(Element activityElement, ActivityImpl activity) { Element extensionElements = activityElement.element("extensionElements"); if (extensionElements != null) { IoMapping inputOutput = null; try { inputOutput = parseInputOutput(extensionElements); } ...
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
parseActivityInputOutput
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected boolean checkActivityInputOutputSupported(Element activityElement, ActivityImpl activity, IoMapping inputOutput) { String tagName = activityElement.getTagName(); if (!(tagName.toLowerCase().contains("task") || tagName.contains("Event") || tagName.equals("transaction") || tagNa...
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
checkActivityInputOutputSupported
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected boolean checkActivityOutputParameterSupported(Element activityElement, ActivityImpl activity) { String tagName = activityElement.getTagName(); if (tagName.equals("endEvent")) { addError("camunda:outputParameter not allowed for element type '" + tagName + "'.", activityElement); return tru...
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
checkActivityOutputParameterSupported
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected void ensureNoIoMappingDefined(Element element) { Element inputOutput = findCamundaExtensionElement(element, "inputOutput"); if (inputOutput != null) { addError("camunda:inputOutput mapping unsupported for element type '" + element.getTagName() + "'.", element); } }
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
ensureNoIoMappingDefined
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected ParameterValueProvider createParameterValueProvider(Object value, ExpressionManager expressionManager) { if (value == null) { return new NullValueProvider(); } else if (value instanceof String) { Expression expression = expressionManager.createExpression((String) value); return new ...
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
createParameterValueProvider
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected void addTimeCycleWarning(Element timeCycleElement, String type, String timerElementId) { String warning = "It is not recommended to use a " + type + " timer event with a time cycle."; addWarning(warning, timeCycleElement, timerElementId); }
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
addTimeCycleWarning
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
protected void ensureNoExpressionInMessageStartEvent(Element element, EventSubscriptionDeclaration messageStartEventSubscriptionDeclaration, String parentElementId) { boolean eventNameContainsExpression = f...
Parses an {@link ExecutionListener} implementation for the given executionListener element. @param executionListenerElement the XML element containing the executionListener definition.
ensureNoExpressionInMessageStartEvent
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java
Apache-2.0
@Override public BpmnParse createParse() { return bpmnParseFactory.createBpmnParse(this); }
Creates a new {@link BpmnParse} instance that can be used to parse only one BPMN 2.0 process definition.
createParse
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParser.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParser.java
Apache-2.0
public ExpressionManager getExpressionManager() { return expressionManager; }
Creates a new {@link BpmnParse} instance that can be used to parse only one BPMN 2.0 process definition.
getExpressionManager
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParser.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParser.java
Apache-2.0
public void setExpressionManager(ExpressionManager expressionManager) { this.expressionManager = expressionManager; }
Creates a new {@link BpmnParse} instance that can be used to parse only one BPMN 2.0 process definition.
setExpressionManager
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParser.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParser.java
Apache-2.0
public List<BpmnParseListener> getParseListeners() { return parseListeners; }
Creates a new {@link BpmnParse} instance that can be used to parse only one BPMN 2.0 process definition.
getParseListeners
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParser.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParser.java
Apache-2.0
public void setParseListeners(List<BpmnParseListener> parseListeners) { this.parseListeners = parseListeners; }
Creates a new {@link BpmnParse} instance that can be used to parse only one BPMN 2.0 process definition.
setParseListeners
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParser.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParser.java
Apache-2.0
public static Element findCamundaExtensionElement(Element element, String extensionElementName) { Element extensionElements = element.element("extensionElements"); if(extensionElements != null) { return extensionElements.elementNS(BpmnParse.CAMUNDA_BPMN_EXTENSIONS_NS, extensionElementName); } else { ...
Returns the camunda extension element in the camunda namespace and the given name. @param element the parent element of the extension element @param extensionElementName the name of the extension element to find @return the extension element or null if not found
findCamundaExtensionElement
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParseUtil.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParseUtil.java
Apache-2.0
public static IoMapping parseInputOutput(Element element) { Element inputOutputElement = element.elementNS(BpmnParse.CAMUNDA_BPMN_EXTENSIONS_NS, "inputOutput"); if(inputOutputElement != null) { IoMapping ioMapping = new IoMapping(); parseCamundaInputParameters(inputOutputElement, ioMapping); p...
Returns the {@link IoMapping} of an element. @param element the element to parse @return the input output mapping or null if non defined @throws BpmnParseException if a input/output parameter element is malformed
parseInputOutput
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParseUtil.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParseUtil.java
Apache-2.0
public static void parseCamundaInputParameters(Element inputOutputElement, IoMapping ioMapping) { List<Element> inputParameters = inputOutputElement.elementsNS(BpmnParse.CAMUNDA_BPMN_EXTENSIONS_NS, "inputParameter"); for (Element inputParameterElement : inputParameters) { parseInputParameterElement(inputP...
Parses all input parameters of an input output element and adds them to the {@link IoMapping}. @param inputOutputElement the input output element to process @param ioMapping the input output mapping to add input parameters to @throws BpmnParseException if a input parameter element is malformed
parseCamundaInputParameters
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParseUtil.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParseUtil.java
Apache-2.0
public static void parseCamundaOutputParameters(Element inputOutputElement, IoMapping ioMapping) { List<Element> outputParameters = inputOutputElement.elementsNS(BpmnParse.CAMUNDA_BPMN_EXTENSIONS_NS, "outputParameter"); for (Element outputParameterElement : outputParameters) { parseOutputParameterElement(...
Parses all output parameters of an input output element and adds them to the {@link IoMapping}. @param inputOutputElement the input output element to process @param ioMapping the input output mapping to add input parameters to @throws BpmnParseException if a output parameter element is malformed
parseCamundaOutputParameters
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParseUtil.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParseUtil.java
Apache-2.0
public static void parseInputParameterElement(Element inputParameterElement, IoMapping ioMapping) { String nameAttribute = inputParameterElement.attribute("name"); if(nameAttribute == null || nameAttribute.isEmpty()) { throw new BpmnParseException("Missing attribute 'name' for inputParameter", inputParame...
Parses a input parameter and adds it to the {@link IoMapping}. @param inputParameterElement the input parameter element @param ioMapping the mapping to add the element @throws BpmnParseException if the input parameter element is malformed
parseInputParameterElement
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParseUtil.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParseUtil.java
Apache-2.0
public static void parseOutputParameterElement(Element outputParameterElement, IoMapping ioMapping) { String nameAttribute = outputParameterElement.attribute("name"); if(nameAttribute == null || nameAttribute.isEmpty()) { throw new BpmnParseException("Missing attribute 'name' for outputParameter", outputP...
Parses a output parameter and adds it to the {@link IoMapping}. @param outputParameterElement the output parameter element @param ioMapping the mapping to add the element @throws BpmnParseException if the output parameter element is malformed
parseOutputParameterElement
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParseUtil.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParseUtil.java
Apache-2.0
protected static ParameterValueProvider parseNestedParamValueProvider(Element element) { // parse value provider if(element.elements().size() == 0) { return parseParamValueProvider(element); } else if(element.elements().size() == 1) { return parseParamValueProvider(element.elements().get(0)); ...
@throws BpmnParseException if the parameter is invalid
parseNestedParamValueProvider
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParseUtil.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParseUtil.java
Apache-2.0