Package org.drools.commands.impl
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.kie.api.runtime.ContextcreateContext(String identifier) <T> Texecute(org.kie.api.command.Command<T> command) org.kie.api.runtime.ContextgetContext(String identifier) org.kie.api.runtime.Contextvoidvoid
-
Field Details
-
ROOT
-
-
Constructor Details
-
ContextManagerImpl
public ContextManagerImpl() -
ContextManagerImpl
-
-
Method Details
-
execute
public <T> T execute(org.kie.api.command.Command<T> command) - Specified by:
executein interfaceorg.kie.api.runtime.CommandExecutor
-
createContext
- Specified by:
createContextin interfaceorg.kie.internal.command.ContextManager
-
getContext
- Specified by:
getContextin interfaceorg.kie.internal.command.ContextManager
-
getRootContext
public org.kie.api.runtime.Context getRootContext() -
get
-
set
-
remove
-