Class VariableContainerUtil


  • public class VariableContainerUtil
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getDefinitionDeploymentId​(java.lang.String processDefinitionId)  
      static org.flowable.common.engine.impl.el.ExpressionManager getExpressionManager​(org.flowable.common.engine.api.variable.VariableContainer variableContainer)  
      static java.lang.String getNonNullScopeType​(org.flowable.common.engine.api.variable.VariableContainer variableContainer)
      Returns the scope type, for CMMN and process engine contexts
      static java.lang.String getParentDeploymentId​(org.flowable.common.engine.api.variable.VariableContainer variableContainer)  
      static java.lang.String getProcessInstanceId​(org.flowable.common.engine.api.variable.VariableContainer variableContainer)
      Returns the processInstanceId, only if the variable container is process related.
      static java.lang.String getScopeId​(org.flowable.common.engine.api.variable.VariableContainer variableContainer)
      Returns the scope id, when running in a non-process engine context.
      static java.lang.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 Detail

      • getProcessInstanceId

        public static java.lang.String getProcessInstanceId​(org.flowable.common.engine.api.variable.VariableContainer variableContainer)
        Returns the processInstanceId, only if the variable container is process related.
      • getScopeId

        public static java.lang.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 java.lang.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 java.lang.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 java.lang.String getParentDeploymentId​(org.flowable.common.engine.api.variable.VariableContainer variableContainer)
      • getDefinitionDeploymentId

        public static java.lang.String getDefinitionDeploymentId​(java.lang.String processDefinitionId)
      • getExpressionManager

        public static org.flowable.common.engine.impl.el.ExpressionManager getExpressionManager​(org.flowable.common.engine.api.variable.VariableContainer variableContainer)