public class RequestContextImpl extends ContextImpl implements org.kie.api.runtime.RequestContext
REGISTRY| Constructor and Description |
|---|
RequestContextImpl() |
RequestContextImpl(long requestId,
org.kie.internal.command.ContextManager ctxManager,
ConversationContextManager cvnManager) |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(String identifier) |
org.kie.api.runtime.Context |
getApplicationContext() |
org.kie.api.runtime.Context |
getConversationContext() |
ConversationContextManager |
getConversationManager() |
Exception |
getException() |
String |
getLastSet() |
Map<String,Object> |
getOutputs() |
Object |
getResult() |
void |
removeOutput(String identifier) |
void |
setApplicationContext(org.kie.api.runtime.Context appContext) |
void |
setConversationContext(org.kie.api.runtime.Context conversationContext) |
void |
setException(Exception exception) |
void |
setLastSetOrGet(String lastSet) |
void |
setOutput(String identifier,
Object value) |
void |
setResult(Object result) |
String |
toString() |
org.kie.api.runtime.RequestContext |
with(org.kie.api.KieBase kieBase) |
org.kie.api.runtime.RequestContext |
with(org.kie.api.runtime.KieSession kieSession) |
getContextManager, getName, has, lookup, register, remove, setclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic RequestContextImpl()
public RequestContextImpl(long requestId,
org.kie.internal.command.ContextManager ctxManager,
ConversationContextManager cvnManager)
public org.kie.api.runtime.Context getApplicationContext()
getApplicationContext in interface org.kie.api.runtime.RequestContextpublic void setApplicationContext(org.kie.api.runtime.Context appContext)
public org.kie.api.runtime.Context getConversationContext()
getConversationContext in interface org.kie.api.runtime.RequestContextpublic void setConversationContext(org.kie.api.runtime.Context conversationContext)
public ConversationContextManager getConversationManager()
public Object get(String identifier)
get in interface org.kie.api.runtime.Contextget in class ContextImplpublic Object getResult()
getResult in interface org.kie.api.runtime.RequestContextpublic void setResult(Object result)
setResult in interface org.kie.api.runtime.RequestContextpublic org.kie.api.runtime.RequestContext with(org.kie.api.KieBase kieBase)
with in interface org.kie.api.runtime.RequestContextpublic org.kie.api.runtime.RequestContext with(org.kie.api.runtime.KieSession kieSession)
with in interface org.kie.api.runtime.RequestContextpublic String getLastSet()
public void setLastSetOrGet(String lastSet)
public Map<String,Object> getOutputs()
getOutputs in interface org.kie.api.runtime.RequestContextpublic void setOutput(String identifier, Object value)
setOutput in interface org.kie.api.runtime.RequestContextpublic void removeOutput(String identifier)
removeOutput in interface org.kie.api.runtime.RequestContextpublic Exception getException()
public void setException(Exception exception)
public String toString()
toString in class ContextImplCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.