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