org.camunda.bpm.engine.impl.variable.VariableDeclaration Java Examples
The following examples show how to use
org.camunda.bpm.engine.impl.variable.VariableDeclaration.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ExecutionEntity.java From camunda-bpm-platform with Apache License 2.0 | 5 votes |
@Override @SuppressWarnings("unchecked") public void initialize() { LOG.initializeExecution(this); ScopeImpl scope = getScopeActivity(); ensureParentInitialized(); List<VariableDeclaration> variableDeclarations = (List<VariableDeclaration>) scope.getProperty(BpmnParse.PROPERTYNAME_VARIABLE_DECLARATIONS); if (variableDeclarations != null) { for (VariableDeclaration variableDeclaration : variableDeclarations) { variableDeclaration.initialize(this, parent); } } if (isProcessInstanceExecution()) { String initiatorVariableName = (String) processDefinition.getProperty(BpmnParse.PROPERTYNAME_INITIATOR_VARIABLE_NAME); if (initiatorVariableName != null) { String authenticatedUserId = Context.getCommandContext().getAuthenticatedUserId(); setVariable(initiatorVariableName, authenticatedUserId); } } // create event subscriptions for the current scope for (EventSubscriptionDeclaration declaration : EventSubscriptionDeclaration.getDeclarationsForScope(scope).values()) { if(!declaration.isStartEvent()) { declaration.createSubscriptionForExecution(this); } } }
Example #2
Source File: AddSendEventListenerToBpmnParseListener.java From camunda-spring-boot-amqp-microservice-cloud-example with Apache License 2.0 | 4 votes |
@Override public void parseProperty(Element propertyElement, VariableDeclaration variableDeclaration, ActivityImpl activity) { }
Example #3
Source File: GlobalOSGiEventBridgeActivator.java From camunda-bpm-platform-osgi with Apache License 2.0 | 4 votes |
@Override public void parseProperty(Element propertyElement, @SuppressWarnings("deprecation") VariableDeclaration variableDeclaration, ActivityImpl activity) { }
Example #4
Source File: CdiEventSupportBpmnParseListener.java From camunda-bpm-platform with Apache License 2.0 | 4 votes |
@Override public void parseProperty(Element propertyElement, VariableDeclaration variableDeclaration, ActivityImpl activity) { }
Example #5
Source File: ProcessApplicationEventParseListener.java From camunda-bpm-platform with Apache License 2.0 | 4 votes |
@Override public void parseProperty(Element propertyElement, VariableDeclaration variableDeclaration, ActivityImpl activity) { }
Example #6
Source File: AbstractBpmnParseListener.java From camunda-bpm-platform with Apache License 2.0 | 4 votes |
public void parseProperty(Element propertyElement, VariableDeclaration variableDeclaration, ActivityImpl activity) { }
Example #7
Source File: HistoryParseListener.java From camunda-bpm-platform with Apache License 2.0 | 4 votes |
public void parseProperty(Element propertyElement, VariableDeclaration variableDeclaration, ActivityImpl activity) { }
Example #8
Source File: BpmnParseListener.java From camunda-bpm-platform with Apache License 2.0 | votes |
void parseProperty(Element propertyElement, VariableDeclaration variableDeclaration, ActivityImpl activity);