Class ContextManagerImpl

java.lang.Object
org.drools.commands.impl.ContextManagerImpl
All Implemented Interfaces:
org.kie.api.runtime.CommandExecutor, org.kie.internal.command.ContextManager

public class ContextManagerImpl extends Object implements org.kie.internal.command.ContextManager, org.kie.api.runtime.CommandExecutor
  • Field Details

    • ROOT

      public static String ROOT
  • Constructor Details

    • ContextManagerImpl

      public ContextManagerImpl()
    • ContextManagerImpl

      public ContextManagerImpl(Map<String,org.kie.api.runtime.Context> contexts)
  • Method Details

    • execute

      public <T> T execute(org.kie.api.command.Command<T> command)
      Specified by:
      execute in interface org.kie.api.runtime.CommandExecutor
    • createContext

      public org.kie.api.runtime.Context createContext(String identifier)
      Specified by:
      createContext in interface org.kie.internal.command.ContextManager
    • getContext

      public org.kie.api.runtime.Context getContext(String identifier)
      Specified by:
      getContext in interface org.kie.internal.command.ContextManager
    • getRootContext

      public org.kie.api.runtime.Context getRootContext()
    • get

      public Object get(String identifier)
    • set

      public void set(String identifier, Object value)
    • remove

      public void remove(String identifier)