Package org.drools.commands
Class RequestContextImpl
java.lang.Object
org.drools.commands.impl.ContextImpl
org.drools.commands.RequestContextImpl
- All Implemented Interfaces:
org.kie.api.runtime.Context,org.kie.api.runtime.RequestContext,org.kie.internal.command.RegistryContext
-
Field Summary
Fields inherited from class org.drools.commands.impl.ContextImpl
ID_GENERATOR, REGISTRY -
Constructor Summary
ConstructorsConstructorDescriptionRequestContextImpl(long requestId, org.kie.internal.command.ContextManager ctxManager, ConversationContextManager cvnManager) -
Method Summary
Modifier and TypeMethodDescriptionorg.kie.api.runtime.Contextorg.kie.api.runtime.ContextvoidremoveOutput(String identifier) voidsetApplicationContext(org.kie.api.runtime.Context appContext) voidsetConversationContext(org.kie.api.runtime.Context conversationContext) voidsetException(Exception exception) voidsetLastSetOrGet(String lastSet) voidvoidtoString()org.kie.api.runtime.RequestContextwith(org.kie.api.KieBase kieBase) org.kie.api.runtime.RequestContextwith(org.kie.api.runtime.KieSession kieSession) Methods inherited from class org.drools.commands.impl.ContextImpl
getContextManager, getName, has, lookup, register, remove, setMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.kie.api.runtime.Context
getName, has, remove, setMethods inherited from interface org.kie.internal.command.RegistryContext
computeIfAbsentMethods inherited from interface org.kie.api.runtime.RequestContext
getOutput, hasOutput
-
Constructor Details
-
RequestContextImpl
public RequestContextImpl() -
RequestContextImpl
public RequestContextImpl(long requestId, org.kie.internal.command.ContextManager ctxManager, ConversationContextManager cvnManager)
-
-
Method Details
-
getApplicationContext
public org.kie.api.runtime.Context getApplicationContext()- Specified by:
getApplicationContextin interfaceorg.kie.api.runtime.RequestContext
-
setApplicationContext
public void setApplicationContext(org.kie.api.runtime.Context appContext) -
getConversationContext
public org.kie.api.runtime.Context getConversationContext()- Specified by:
getConversationContextin interfaceorg.kie.api.runtime.RequestContext
-
setConversationContext
public void setConversationContext(org.kie.api.runtime.Context conversationContext) -
getConversationManager
-
get
- Specified by:
getin interfaceorg.kie.api.runtime.Context- Overrides:
getin classContextImpl
-
getResult
- Specified by:
getResultin interfaceorg.kie.api.runtime.RequestContext
-
setResult
- Specified by:
setResultin interfaceorg.kie.api.runtime.RequestContext
-
with
public org.kie.api.runtime.RequestContext with(org.kie.api.KieBase kieBase) - Specified by:
within interfaceorg.kie.api.runtime.RequestContext
-
with
public org.kie.api.runtime.RequestContext with(org.kie.api.runtime.KieSession kieSession) - Specified by:
within interfaceorg.kie.api.runtime.RequestContext
-
getLastSet
-
setLastSetOrGet
-
getOutputs
- Specified by:
getOutputsin interfaceorg.kie.api.runtime.RequestContext
-
setOutput
- Specified by:
setOutputin interfaceorg.kie.api.runtime.RequestContext
-
removeOutput
- Specified by:
removeOutputin interfaceorg.kie.api.runtime.RequestContext
-
getException
-
setException
-
toString
- Overrides:
toStringin classContextImpl
-