Class VariableContainerUtil
java.lang.Object
com.flowable.platform.common.util.VariableContainerUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.flowable.common.engine.impl.el.ExpressionManagergetExpressionManager(org.flowable.common.engine.api.variable.VariableContainer variableContainer) static StringgetNonNullScopeType(org.flowable.common.engine.api.variable.VariableContainer variableContainer) Returns the scope type, for CMMN and process engine contextsstatic StringgetParentDeploymentId(org.flowable.common.engine.api.variable.VariableContainer variableContainer) static StringgetProcessInstanceId(org.flowable.common.engine.api.variable.VariableContainer variableContainer) Returns the processInstanceId, only if the variable container is process related.static StringgetScopeId(org.flowable.common.engine.api.variable.VariableContainer variableContainer) Returns the scope id, when running in a non-process engine context.static StringgetScopeType(org.flowable.common.engine.api.variable.VariableContainer variableContainer) Returns the scope type, when running in a non-process-engine engine.
-
Method Details
-
getProcessInstanceId
public static String getProcessInstanceId(org.flowable.common.engine.api.variable.VariableContainer variableContainer) Returns the processInstanceId, only if the variable container is process related. -
getScopeId
public static String getScopeId(org.flowable.common.engine.api.variable.VariableContainer variableContainer) Returns the scope id, when running in a non-process engine context. -
getScopeType
public static String getScopeType(org.flowable.common.engine.api.variable.VariableContainer variableContainer) Returns the scope type, when running in a non-process-engine engine. -
getNonNullScopeType
public static String getNonNullScopeType(org.flowable.common.engine.api.variable.VariableContainer variableContainer) Returns the scope type, for CMMN and process engine contexts- Throws:
org.flowable.common.engine.api.FlowableException- in the case when scope type was not recognized
-
getParentDeploymentId
public static String getParentDeploymentId(org.flowable.common.engine.api.variable.VariableContainer variableContainer) -
getExpressionManager
public static org.flowable.common.engine.impl.el.ExpressionManager getExpressionManager(org.flowable.common.engine.api.variable.VariableContainer variableContainer)
-