public class VariableContainerUtil extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getNonNullScopeType(org.flowable.common.engine.api.variable.VariableContainer variableContainer)
Returns the scope type, for CMMN and process engine contexts
|
static String |
getProcessInstanceId(org.flowable.common.engine.api.variable.VariableContainer variableContainer)
Returns the processInstanceId, only if the variable container is process related.
|
static String |
getScopeId(org.flowable.common.engine.api.variable.VariableContainer variableContainer)
Returns the scope id, when running in a non-process engine context.
|
static String |
getScopeType(org.flowable.common.engine.api.variable.VariableContainer variableContainer)
Returns the scope type, when running in a non-process-engine engine.
|
static String |
getTenantId(org.flowable.common.engine.api.variable.VariableContainer variableContainer)
Return the tenantId of the passed variable container.
|
public static String getProcessInstanceId(org.flowable.common.engine.api.variable.VariableContainer variableContainer)
public static String getScopeId(org.flowable.common.engine.api.variable.VariableContainer variableContainer)
public static String getScopeType(org.flowable.common.engine.api.variable.VariableContainer variableContainer)
public static String getNonNullScopeType(org.flowable.common.engine.api.variable.VariableContainer variableContainer)
org.flowable.common.engine.api.FlowableException
- in the case when scope type was not recognizedpublic static String getTenantId(org.flowable.common.engine.api.variable.VariableContainer variableContainer)
Copyright © 2019. All rights reserved.