Class Context


  • public class Context
    extends java.lang.Object
    • Field Detail

      • commandContextThreadLocal

        protected static java.lang.ThreadLocal<java.util.Stack<CommandContext>> commandContextThreadLocal
      • processEngineConfigurationStackThreadLocal

        protected static java.lang.ThreadLocal<java.util.Stack<ProcessEngineConfigurationImpl>> processEngineConfigurationStackThreadLocal
      • transactionContextThreadLocal

        protected static java.lang.ThreadLocal<java.util.Stack<TransactionContext>> transactionContextThreadLocal
      • bpmnOverrideContextThreadLocal

        protected static java.lang.ThreadLocal<java.util.Map<java.lang.String,​com.fasterxml.jackson.databind.node.ObjectNode>> bpmnOverrideContextThreadLocal
      • resourceBundleControl

        protected static java.util.ResourceBundle.Control resourceBundleControl
    • Constructor Detail

      • Context

        public Context()
    • Method Detail

      • getCommandContext

        public static CommandContext getCommandContext()
      • setCommandContext

        public static void setCommandContext​(CommandContext commandContext)
      • removeCommandContext

        public static void removeCommandContext()
      • removeProcessEngineConfiguration

        public static void removeProcessEngineConfiguration()
      • setTransactionContext

        public static void setTransactionContext​(TransactionContext transactionContext)
      • removeTransactionContext

        public static void removeTransactionContext()
      • getStack

        protected static <T> java.util.Stack<T> getStack​(java.lang.ThreadLocal<java.util.Stack<T>> threadLocal)
      • getBpmnOverrideElementProperties

        public static com.fasterxml.jackson.databind.node.ObjectNode getBpmnOverrideElementProperties​(java.lang.String id,
                                                                                                      java.lang.String processDefinitionId)
      • getLocalizationElementProperties

        public static com.fasterxml.jackson.databind.node.ObjectNode getLocalizationElementProperties​(java.lang.String language,
                                                                                                      java.lang.String id,
                                                                                                      java.lang.String processDefinitionId,
                                                                                                      boolean useFallback)
      • removeBpmnOverrideContext

        public static void removeBpmnOverrideContext()
      • getProcessDefinitionInfoNode

        protected static com.fasterxml.jackson.databind.node.ObjectNode getProcessDefinitionInfoNode​(java.lang.String processDefinitionId)
      • getBpmnOverrideContext

        protected static java.util.Map<java.lang.String,​com.fasterxml.jackson.databind.node.ObjectNode> getBpmnOverrideContext()
      • addBpmnOverrideElement

        protected static void addBpmnOverrideElement​(java.lang.String id,
                                                     com.fasterxml.jackson.databind.node.ObjectNode infoNode)