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 String
getDefinitionDeploymentId(String processDefinitionId)
static ExpressionManager
getExpressionManager(VariableContainer variableContainer)
static String
getNonNullScopeType(VariableContainer variableContainer)
Returns the scope type, for CMMN and process engine contextsstatic String
getParentDeploymentId(VariableContainer variableContainer)
static String
getProcessInstanceId(VariableContainer variableContainer)
Returns the processInstanceId, only if the variable container is process related.static String
getScopeId(VariableContainer variableContainer)
Returns the scope id, when running in a non-process engine context.static String
getScopeType(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)
-
getDefinitionDeploymentId
public static String getDefinitionDeploymentId(String processDefinitionId)
-
getExpressionManager
public static ExpressionManager getExpressionManager(VariableContainer variableContainer)
-
-