Class VariableContainerUtil

java.lang.Object
com.flowable.platform.common.util.VariableContainerUtil

public class VariableContainerUtil extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.flowable.common.engine.impl.el.ExpressionManager
    getExpressionManager(org.flowable.common.engine.api.variable.VariableContainer variableContainer)
     
    static String
    getNonNullScopeType(org.flowable.common.engine.api.variable.VariableContainer variableContainer)
    Returns the scope type, for CMMN and process engine contexts
    static String
    getParentDeploymentId(org.flowable.common.engine.api.variable.VariableContainer variableContainer)
     
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)