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 String getCanonicalName() { return "case-execution-parent-complete"; }
@author Johannes Heinemann @author Roman Smirnov
getCanonicalName
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/operation/AtomicOperationCaseExecutionParentComplete.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/operation/AtomicOperationCaseExecutionParentComplete.java
Apache-2.0
protected String getEventName() { return "parentComplete"; }
@author Johannes Heinemann @author Roman Smirnov
getEventName
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/operation/AtomicOperationCaseExecutionParentComplete.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/operation/AtomicOperationCaseExecutionParentComplete.java
Apache-2.0
public void transformCasePlanModel(org.camunda.bpm.model.cmmn.impl.instance.CasePlanModel casePlanModel, CmmnActivity activity) { transformCasePlanModel((org.camunda.bpm.model.cmmn.instance.CasePlanModel) casePlanModel, activity); }
Abstract base class for implementing a {@link CmmnTransformListener} without being forced to implement all methods provided, which make the implementation more robust to future changes. @author Sebastian Menski
transformCasePlanModel
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/transformer/AbstractCmmnTransformListener.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/transformer/AbstractCmmnTransformListener.java
Apache-2.0
public CaseExecutionEntity getCaseInstance() { return execution.getCaseInstance(); }
@author Roman Smirnov @author Daniel Meyer
getCaseInstance
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/context/CaseExecutionContext.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/context/CaseExecutionContext.java
Apache-2.0
public CaseDefinitionEntity getCaseDefinition() { return (CaseDefinitionEntity) execution.getCaseDefinition(); }
@author Roman Smirnov @author Daniel Meyer
getCaseDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/context/CaseExecutionContext.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/context/CaseExecutionContext.java
Apache-2.0
protected String getDeploymentId() { return getCaseDefinition().getDeploymentId(); }
@author Roman Smirnov @author Daniel Meyer
getDeploymentId
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/context/CaseExecutionContext.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/context/CaseExecutionContext.java
Apache-2.0
public static CommandContext getCommandContext() { Deque<CommandContext> stack = getStack(commandContextThreadLocal); if (stack.isEmpty()) { return null; } return stack.peek(); }
@author Tom Baeyens @author Daniel Meyer @author Thorben Lindhauer
getCommandContext
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/context/Context.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/context/Context.java
Apache-2.0
public static CommandInvocationContext getCommandInvocationContext() { Deque<CommandInvocationContext> stack = getStack(commandInvocationContextThreadLocal); if (stack.isEmpty()) { return null; } return stack.peek(); }
@author Tom Baeyens @author Daniel Meyer @author Thorben Lindhauer
getCommandInvocationContext
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/context/Context.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/context/Context.java
Apache-2.0
public static void removeCommandInvocationContext() { Deque<CommandInvocationContext> stack = getStack(commandInvocationContextThreadLocal); CommandInvocationContext currentContext = stack.pop(); if (stack.isEmpty()) { // do not clear when called from JobExecutor, will be cleared there after logging ...
@author Tom Baeyens @author Daniel Meyer @author Thorben Lindhauer
removeCommandInvocationContext
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/context/Context.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/context/Context.java
Apache-2.0
public static ProcessEngineConfigurationImpl getProcessEngineConfiguration() { Deque<ProcessEngineConfigurationImpl> stack = getStack(processEngineConfigurationStackThreadLocal); if (stack.isEmpty()) { return null; } return stack.peek(); }
@author Tom Baeyens @author Daniel Meyer @author Thorben Lindhauer
getProcessEngineConfiguration
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/context/Context.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/context/Context.java
Apache-2.0
public static <T> T executeWithinProcessApplication(Callable<T> callback, ProcessApplicationReference processApplicationReference) { return executeWithinProcessApplication(callback, processApplicationReference, null); }
Use {@link #executeWithinProcessApplication(Callable, ProcessApplicationReference, InvocationContext)} instead if an {@link InvocationContext} is available.
executeWithinProcessApplication
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/context/Context.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/context/Context.java
Apache-2.0
public static <T> T executeWithinProcessApplication(Callable<T> callback, ProcessApplicationReference processApplicationReference, InvocationContext invocationContext) { String paName = processApplicationReference.getName(); try { ProcessApplicationInterface processApplication = processApplicationReferenc...
Use {@link #executeWithinProcessApplication(Callable, ProcessApplicationReference, InvocationContext)} instead if an {@link InvocationContext} is available.
executeWithinProcessApplication
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/context/Context.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/context/Context.java
Apache-2.0
public T getExecution() { return execution; }
@author Roman Smirnov @author Daniel Meyer
getExecution
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/context/CoreExecutionContext.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/context/CoreExecutionContext.java
Apache-2.0
public DeploymentEntity getDeployment() { return Context .getCommandContext() .getDeploymentManager() .findDeploymentById(getDeploymentId()); }
@author Roman Smirnov @author Daniel Meyer
getDeployment
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/context/CoreExecutionContext.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/context/CoreExecutionContext.java
Apache-2.0
public ExecutionEntity getProcessInstance() { return execution.getProcessInstance(); }
An {@link ExecutionEntity} execution context. Provides access to the process instance and the deployment. @deprecated since 7.2: use {@link BpmnExecutionContext} @author Tom Baeyens @author Roman Smirnov @author Daniel Meyer
getProcessInstance
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/context/ExecutionContext.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/context/ExecutionContext.java
Apache-2.0
public ProcessDefinitionEntity getProcessDefinition() { return (ProcessDefinitionEntity) execution.getProcessDefinition(); }
An {@link ExecutionEntity} execution context. Provides access to the process instance and the deployment. @deprecated since 7.2: use {@link BpmnExecutionContext} @author Tom Baeyens @author Roman Smirnov @author Daniel Meyer
getProcessDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/context/ExecutionContext.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/context/ExecutionContext.java
Apache-2.0
protected String getDeploymentId() { return getProcessDefinition().getDeploymentId(); }
An {@link ExecutionEntity} execution context. Provides access to the process instance and the deployment. @deprecated since 7.2: use {@link BpmnExecutionContext} @author Tom Baeyens @author Roman Smirnov @author Daniel Meyer
getDeploymentId
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/context/ExecutionContext.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/context/ExecutionContext.java
Apache-2.0
public T call() throws Exception { try { // record thread context right after context switch PA_CLASSLOADER.set(ClassLoaderUtil.getContextClassloader()); // proceed with delegate callable invocation return delegate.call(); } finally { PA_CLASSLOADER.remove(); } }
Wrapps the user-provided {@link Callable} and records the Thread Context Classloader after the context switch has been performed. This allows detecting if the Thread Context has been manipulated by the container after that (Usually due to cross application EJB invocations). @author Daniel Meyer
call
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/context/ProcessApplicationClassloaderInterceptor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/context/ProcessApplicationClassloaderInterceptor.java
Apache-2.0
public static ClassLoader getProcessApplicationClassLoader() { return PA_CLASSLOADER.get(); }
Wrapps the user-provided {@link Callable} and records the Thread Context Classloader after the context switch has been performed. This allows detecting if the Thread Context has been manipulated by the container after that (Usually due to cross application EJB invocations). @author Daniel Meyer
getProcessApplicationClassLoader
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/context/ProcessApplicationClassloaderInterceptor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/context/ProcessApplicationClassloaderInterceptor.java
Apache-2.0
@SuppressWarnings("unchecked") public <T extends CoreExecution> void performOperation(CoreAtomicOperation<T> operation) { LOG.debugPerformingAtomicOperation(operation, this); operation.execute((T) this); }
the business key for this execution
performOperation
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
Apache-2.0
@SuppressWarnings("unchecked") public <T extends CoreExecution> void performOperationSync(CoreAtomicOperation<T> operation) { LOG.debugPerformingAtomicOperation(operation, this); operation.execute((T) this); }
the business key for this execution
performOperationSync
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
Apache-2.0
public String getEventName() { return eventName; }
the business key for this execution
getEventName
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
Apache-2.0
public void setEventName(String eventName) { this.eventName = eventName; }
the business key for this execution
setEventName
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
Apache-2.0
public CoreModelElement getEventSource() { return eventSource; }
the business key for this execution
getEventSource
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
Apache-2.0
public void setEventSource(CoreModelElement eventSource) { this.eventSource = eventSource; }
the business key for this execution
setEventSource
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
Apache-2.0
public int getListenerIndex() { return listenerIndex; }
the business key for this execution
getListenerIndex
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
Apache-2.0
public void setListenerIndex(int listenerIndex) { this.listenerIndex = listenerIndex; }
the business key for this execution
setListenerIndex
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
Apache-2.0
@SuppressWarnings({ "rawtypes", "unchecked" }) public void invokeListener(DelegateListener listener) throws Exception { listener.notify(this); }
the business key for this execution
invokeListener
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
Apache-2.0
public boolean hasFailedOnEndListeners() { return false; }
the business key for this execution
hasFailedOnEndListeners
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
Apache-2.0
public String getId() { return id; }
the business key for this execution
getId
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
Apache-2.0
public void setId(String id) { this.id = id; }
the business key for this execution
setId
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
Apache-2.0
public String getBusinessKeyWithoutCascade() { return businessKeyWithoutCascade; }
the business key for this execution
getBusinessKeyWithoutCascade
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
Apache-2.0
public void setBusinessKey(String businessKey) { this.businessKey = businessKey; this.businessKeyWithoutCascade = businessKey; }
the business key for this execution
setBusinessKey
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
Apache-2.0
public String getTenantId() { return tenantId; }
the business key for this execution
getTenantId
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
Apache-2.0
public void setTenantId(String tenantId) { this.tenantId = tenantId; }
the business key for this execution
setTenantId
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
Apache-2.0
public boolean isSkipCustomListeners() { return skipCustomListeners; }
the business key for this execution
isSkipCustomListeners
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
Apache-2.0
public void setSkipCustomListeners(boolean skipCustomListeners) { this.skipCustomListeners = skipCustomListeners; }
the business key for this execution
setSkipCustomListeners
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
Apache-2.0
public boolean isSkipIoMappings() { return skipIoMapping; }
the business key for this execution
isSkipIoMappings
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
Apache-2.0
public void setSkipIoMappings(boolean skipIoMappings) { this.skipIoMapping = skipIoMappings; }
the business key for this execution
setSkipIoMappings
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
Apache-2.0
public boolean isSkipSubprocesses() { return skipSubprocesses; }
the business key for this execution
isSkipSubprocesses
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
Apache-2.0
public void setSkipSubprocesseses(boolean skipSubprocesses) { this.skipSubprocesses = skipSubprocesses; }
the business key for this execution
setSkipSubprocesseses
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/instance/CoreExecution.java
Apache-2.0
public boolean hasDynamicReferences() { return (tenantIdProvider != null && tenantIdProvider.isDynamic()) || definitionKeyValueProvider.isDynamic() || versionValueProvider.isDynamic() || versionTagValueProvider.isDynamic(); }
@return true if any of the references that specify the callable element are non-literal and need to be resolved with potential side effects to determine the process or case definition that is to be called.
hasDynamicReferences
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/BaseCallableElement.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/BaseCallableElement.java
Apache-2.0
public String getId() { return id; }
contains all listeners (built-in + user-provided)
getId
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
Apache-2.0
public String getName() { return name; }
contains all listeners (built-in + user-provided)
getName
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
Apache-2.0
public Properties getProperties() { return properties; }
Returns the properties of the element. @return the properties
getProperties
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
Apache-2.0
public void setProperties(Properties properties) { this.properties = properties; }
Returns the properties of the element. @return the properties
setProperties
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
Apache-2.0
public void setId(String id) { this.id = id; }
Returns the properties of the element. @return the properties
setId
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
Apache-2.0
public void setName(String name) { this.name = name; }
Returns the properties of the element. @return the properties
setName
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
Apache-2.0
public List<DelegateListener<? extends BaseDelegateExecution>> getListeners(String eventName) { List<DelegateListener<? extends BaseDelegateExecution>> listenerList = getListeners().get(eventName); if (listenerList != null) { return listenerList; } return Collections.emptyList(); }
Returns the properties of the element. @return the properties
getListeners
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
Apache-2.0
public List<DelegateListener<? extends BaseDelegateExecution>> getBuiltInListeners(String eventName) { List<DelegateListener<? extends BaseDelegateExecution>> listenerList = getBuiltInListeners().get(eventName); if (listenerList != null) { return listenerList; } return Collections.emptyList(); }
Returns the properties of the element. @return the properties
getBuiltInListeners
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
Apache-2.0
public List<VariableListener<?>> getVariableListenersLocal(String eventName) { List<VariableListener<?>> listenerList = getVariableListeners().get(eventName); if (listenerList != null) { return listenerList; } return Collections.emptyList(); }
Returns the properties of the element. @return the properties
getVariableListenersLocal
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
Apache-2.0
public List<VariableListener<?>> getBuiltInVariableListenersLocal(String eventName) { List<VariableListener<?>> listenerList = getBuiltInVariableListeners().get(eventName); if (listenerList != null) { return listenerList; } return Collections.emptyList(); }
Returns the properties of the element. @return the properties
getBuiltInVariableListenersLocal
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
Apache-2.0
public void addListener(String eventName, DelegateListener<? extends BaseDelegateExecution> listener) { addListener(eventName, listener, -1); }
Returns the properties of the element. @return the properties
addListener
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
Apache-2.0
public void addBuiltInListener(String eventName, DelegateListener<? extends BaseDelegateExecution> listener) { addBuiltInListener(eventName, listener, -1); }
Returns the properties of the element. @return the properties
addBuiltInListener
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
Apache-2.0
public void addBuiltInListener(String eventName, DelegateListener<? extends BaseDelegateExecution> listener, int index) { addListenerToMap(listeners, eventName, listener, index); addListenerToMap(builtInListeners, eventName, listener, index); }
Returns the properties of the element. @return the properties
addBuiltInListener
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
Apache-2.0
public void addListener(String eventName, DelegateListener<? extends BaseDelegateExecution> listener, int index) { addListenerToMap(listeners, eventName, listener, index); }
Returns the properties of the element. @return the properties
addListener
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
Apache-2.0
protected <T> void addListenerToMap(Map<String, List<T>> listenerMap, String eventName, T listener, int index) { List<T> listeners = listenerMap.get(eventName); if (listeners == null) { listeners = new ArrayList<T>(); listenerMap.put(eventName, listeners); } if (index < 0) { listeners....
Returns the properties of the element. @return the properties
addListenerToMap
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
Apache-2.0
public void addVariableListener(String eventName, VariableListener<?> listener) { addVariableListener(eventName, listener, -1); }
Returns the properties of the element. @return the properties
addVariableListener
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
Apache-2.0
public void addVariableListener(String eventName, VariableListener<?> listener, int index) { addListenerToMap(variableListeners, eventName, listener, index); }
Returns the properties of the element. @return the properties
addVariableListener
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
Apache-2.0
public void addBuiltInVariableListener(String eventName, VariableListener<?> listener) { addBuiltInVariableListener(eventName, listener, -1); }
Returns the properties of the element. @return the properties
addBuiltInVariableListener
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
Apache-2.0
public void addBuiltInVariableListener(String eventName, VariableListener<?> listener, int index) { addListenerToMap(variableListeners, eventName, listener, index); addListenerToMap(builtInVariableListeners, eventName, listener, index); }
Returns the properties of the element. @return the properties
addBuiltInVariableListener
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
Apache-2.0
public Map<String, List<DelegateListener<? extends BaseDelegateExecution>>> getListeners() { return listeners; }
Returns the properties of the element. @return the properties
getListeners
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
Apache-2.0
public Map<String, List<DelegateListener<? extends BaseDelegateExecution>>> getBuiltInListeners() { return builtInListeners; }
Returns the properties of the element. @return the properties
getBuiltInListeners
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
Apache-2.0
public Map<String, List<VariableListener<?>>> getBuiltInVariableListeners() { return builtInVariableListeners; }
Returns the properties of the element. @return the properties
getBuiltInVariableListeners
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
Apache-2.0
public Map<String, List<VariableListener<?>>> getVariableListeners() { return variableListeners; }
Returns the properties of the element. @return the properties
getVariableListeners
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/CoreModelElement.java
Apache-2.0
@SuppressWarnings("unchecked") public <T> T get(PropertyKey<T> property) { return (T) properties.get(property.getName()); }
Returns the value to which the specified property key is mapped, or <code>null</code> if this properties contains no mapping for the property key. @param property the property key whose associated value is to be returned @return the value to which the specified property key is mapped, or <code>null</c...
get
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/Properties.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/Properties.java
Apache-2.0
@SuppressWarnings("unchecked") public <T> List<T> get(PropertyListKey<T> property) { if (contains(property)) { return (List<T>) properties.get(property.getName()); } else { return new ArrayList<T>(); } }
Returns the list to which the specified property key is mapped, or an empty list if this properties contains no mapping for the property key. Note that the empty list is not mapped to the property key. @param property the property key whose associated list is to be returned @return the list to which the speci...
get
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/Properties.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/Properties.java
Apache-2.0
@SuppressWarnings("unchecked") public <K, V> Map<K, V> get(PropertyMapKey<K, V> property) { if (contains(property)) { return (Map<K, V>) properties.get(property.getName()); } else { return new HashMap<K, V>(); } }
Returns the map to which the specified property key is mapped, or an empty map if this properties contains no mapping for the property key. Note that the empty map is not mapped to the property key. @param property the property key whose associated map is to be returned @return the map to which the specified ...
get
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/Properties.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/Properties.java
Apache-2.0
public <T> void set(PropertyKey<T> property, T value) { properties.put(property.getName(), value); }
Associates the specified value with the specified property key. If the properties previously contained a mapping for the property key, the old value is replaced by the specified value. @param <T> the type of the value @param property the property key with which the specified value is to be associated...
set
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/Properties.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/Properties.java
Apache-2.0
public <T> void set(PropertyListKey<T> property, List<T> value) { properties.put(property.getName(), value); }
Associates the specified list with the specified property key. If the properties previously contained a mapping for the property key, the old value is replaced by the specified list. @param <T> the type of elements in the list @param property the property key with which the specified list is to be as...
set
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/Properties.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/Properties.java
Apache-2.0
public <K, V> void set(PropertyMapKey<K, V> property, Map<K, V> value) { properties.put(property.getName(), value); }
Associates the specified map with the specified property key. If the properties previously contained a mapping for the property key, the old value is replaced by the specified map. @param <K> the type of keys maintained by the map @param <V> the type of mapped values @param property the prop...
set
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/Properties.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/Properties.java
Apache-2.0
public <T> void addListItem(PropertyListKey<T> property, T value) { List<T> list = get(property); list.add(value); if (!contains(property)) { set(property, list); } }
Append the value to the list to which the specified property key is mapped. If this properties contains no mapping for the property key, the value append to a new list witch is associate the the specified property key. @param <T> the type of elements in the list @param property the property key whose...
addListItem
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/Properties.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/Properties.java
Apache-2.0
public <K, V> void putMapEntry(PropertyMapKey<K, V> property, K key, V value) { Map<K, V> map = get(property); if (!property.allowsOverwrite() && map.containsKey(key)) { throw new ProcessEngineException("Cannot overwrite property key " + key + ". Key already exists"); } map.put(key, value); ...
Insert the value to the map to which the specified property key is mapped. If this properties contains no mapping for the property key, the value insert to a new map witch is associate the the specified property key. @param <K> the type of keys maintained by the map @param <V> the type of mapped valu...
putMapEntry
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/Properties.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/Properties.java
Apache-2.0
public boolean contains(PropertyKey<?> property) { return properties.containsKey(property.getName()); }
Returns <code>true</code> if this properties contains a mapping for the specified property key. @param property the property key whose presence is to be tested @return <code>true</code> if this properties contains a mapping for the specified property key
contains
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/Properties.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/Properties.java
Apache-2.0
public boolean contains(PropertyListKey<?> property) { return properties.containsKey(property.getName()); }
Returns <code>true</code> if this properties contains a mapping for the specified property key. @param property the property key whose presence is to be tested @return <code>true</code> if this properties contains a mapping for the specified property key
contains
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/Properties.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/Properties.java
Apache-2.0
public boolean contains(PropertyMapKey<?, ?> property) { return properties.containsKey(property.getName()); }
Returns <code>true</code> if this properties contains a mapping for the specified property key. @param property the property key whose presence is to be tested @return <code>true</code> if this properties contains a mapping for the specified property key
contains
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/Properties.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/Properties.java
Apache-2.0
public Map<String, Object> toMap() { return new HashMap<String, Object>(properties); }
Returns a map view of this properties. Changes to the map are not reflected to the properties. @return a map view of this properties
toMap
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/Properties.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/Properties.java
Apache-2.0
@Override public String toString() { return "Properties [properties=" + properties + "]"; }
Returns a map view of this properties. Changes to the map are not reflected to the properties. @return a map view of this properties
toString
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/Properties.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/Properties.java
Apache-2.0
public String getName() { return name; }
Key of a typed property. @param T the type of the property value @author Philipp Ossler @see {@link PropertyListKey}, {@link PropertyMapKey}
getName
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/PropertyKey.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/PropertyKey.java
Apache-2.0
@Override public String toString() { return "PropertyKey [name=" + name + "]"; }
Key of a typed property. @param T the type of the property value @author Philipp Ossler @see {@link PropertyListKey}, {@link PropertyMapKey}
toString
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/PropertyKey.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/PropertyKey.java
Apache-2.0
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((name == null) ? 0 : name.hashCode()); return result; }
Key of a typed property. @param T the type of the property value @author Philipp Ossler @see {@link PropertyListKey}, {@link PropertyMapKey}
hashCode
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/PropertyKey.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/PropertyKey.java
Apache-2.0
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; PropertyKey<?> other = (PropertyKey<?>) obj; if (name == null) { if (other.name != null) return false; } el...
Key of a typed property. @param T the type of the property value @author Philipp Ossler @see {@link PropertyListKey}, {@link PropertyMapKey}
equals
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/PropertyKey.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/PropertyKey.java
Apache-2.0
public String getName() { return name; }
Key of a list property. @param T the type of elements in the list @author Philipp Ossler
getName
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/PropertyListKey.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/PropertyListKey.java
Apache-2.0
@Override public String toString() { return "PropertyListKey [name=" + name + "]"; }
Key of a list property. @param T the type of elements in the list @author Philipp Ossler
toString
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/PropertyListKey.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/PropertyListKey.java
Apache-2.0
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((name == null) ? 0 : name.hashCode()); return result; }
Key of a list property. @param T the type of elements in the list @author Philipp Ossler
hashCode
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/PropertyListKey.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/PropertyListKey.java
Apache-2.0
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; PropertyListKey<?> other = (PropertyListKey<?>) obj; if (name == null) { if (other.name != null) return false; ...
Key of a list property. @param T the type of elements in the list @author Philipp Ossler
equals
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/PropertyListKey.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/PropertyListKey.java
Apache-2.0
public boolean allowsOverwrite() { return allowOverwrite; }
Key of a map property. @param K the type of keys maintained by the map @param V the type of mapped values @author Philipp Ossler
allowsOverwrite
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/PropertyMapKey.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/PropertyMapKey.java
Apache-2.0
public String getName() { return name; }
Key of a map property. @param K the type of keys maintained by the map @param V the type of mapped values @author Philipp Ossler
getName
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/PropertyMapKey.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/PropertyMapKey.java
Apache-2.0
@Override public String toString() { return "PropertyMapKey [name=" + name + "]"; }
Key of a map property. @param K the type of keys maintained by the map @param V the type of mapped values @author Philipp Ossler
toString
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/PropertyMapKey.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/PropertyMapKey.java
Apache-2.0
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((name == null) ? 0 : name.hashCode()); return result; }
Key of a map property. @param K the type of keys maintained by the map @param V the type of mapped values @author Philipp Ossler
hashCode
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/PropertyMapKey.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/PropertyMapKey.java
Apache-2.0
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; PropertyMapKey<?,?> other = (PropertyMapKey<?,?>) obj; if (name == null) { if (other.name != null) return false...
Key of a map property. @param K the type of keys maintained by the map @param V the type of mapped values @author Philipp Ossler
equals
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/model/PropertyMapKey.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/model/PropertyMapKey.java
Apache-2.0
public static boolean isJavaSerializationProhibited(TypedValue value) { ProcessEngineConfigurationImpl processEngineConfiguration = Context.getProcessEngineConfiguration(); if (value instanceof SerializableValue && !processEngineConfiguration.isJavaSerializationFormatEnabled()) { Seriali...
Checks, if Java serialization will be used and if it is allowed to be used. @param value
isJavaSerializationProhibited
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/VariableUtil.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/VariableUtil.java
Apache-2.0
public static void checkJavaSerialization(String variableName, TypedValue value) { if (isJavaSerializationProhibited(value)) { throw CORE_LOGGER.javaSerializationProhibitedException(variableName); } }
Checks, if Java serialization will be used and if it is allowed to be used. @param value
checkJavaSerialization
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/VariableUtil.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/VariableUtil.java
Apache-2.0
public static void setVariables(Map<String, ?> variables, SetVariableFunction setVariableFunction) { if (variables != null) { for (String variableName : variables.keySet()) { Object value = null; if (variables instanceof VariableMap) { value = ((Vari...
Checks, if Java serialization will be used and if it is allowed to be used. @param value
setVariables
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/VariableUtil.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/VariableUtil.java
Apache-2.0
public static void setVariablesByBatchId(Map<String, ?> variables, String batchId) { setVariables(variables, (name, value) -> setVariableByBatchId(batchId, name, value)); }
Checks, if Java serialization will be used and if it is allowed to be used. @param value
setVariablesByBatchId
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/VariableUtil.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/VariableUtil.java
Apache-2.0
public static void setVariableByBatchId(String batchId, String variableName, Object variableValue) { TypedValue variableTypedValue = Variables.untypedValue(variableValue); boolean isTransient = variableTypedValue.isTransient(); if (isTransient) { throw CMD_LOGGER.exceptionSettingTransientVariablesAsy...
Checks, if Java serialization will be used and if it is allowed to be used. @param value
setVariableByBatchId
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/VariableUtil.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/VariableUtil.java
Apache-2.0
public static Map<String, ?> findBatchVariablesSerialized(String batchId, CommandContext commandContext) { List<VariableInstanceEntity> variableInstances = commandContext.getVariableInstanceManager() .findVariableInstancesByBatchId(batchId); return variableInstances.stream().collect(variablesCollector()...
Checks, if Java serialization will be used and if it is allowed to be used. @param value
findBatchVariablesSerialized
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/VariableUtil.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/VariableUtil.java
Apache-2.0
protected static Collector<VariableInstanceEntity, ?, Map<String, TypedValue>> variablesCollector() { return Collectors.toMap(VariableInstanceEntity::getName, VariableUtil::getSerializedValue); }
Checks, if Java serialization will be used and if it is allowed to be used. @param value
variablesCollector
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/VariableUtil.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/VariableUtil.java
Apache-2.0
protected static TypedValue getSerializedValue(VariableInstanceEntity variableInstanceEntity) { return variableInstanceEntity.getTypedValue(false); }
Checks, if Java serialization will be used and if it is allowed to be used. @param value
getSerializedValue
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/VariableUtil.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/VariableUtil.java
Apache-2.0
protected void execute(AbstractVariableScope innerScope, AbstractVariableScope outerScope) { // get value from outer scope Object value = valueProvider.getValue(outerScope); LOG.debugMappingValueFromOuterScopeToInnerScope(value,outerScope, name, innerScope); // set variable in inner scope innerSc...
<pre> +-----------------+ | | outer scope-----> inner scope | | | +-----------------+ </pre> @author Daniel Meyer
execute
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/mapping/InputParameter.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/mapping/InputParameter.java
Apache-2.0