| Constructor and Description | 
|---|
ConversationContext(Plugin plugin,
                   Conversable forWhom,
                   Map<Object,Object> initialSessionData)  | 
| Modifier and Type | Method and Description | 
|---|---|
Map<Object,Object> | 
getAllSessionData()
Gets the entire sessionData map. 
 | 
Conversable | 
getForWhom()
Gets the subject of the conversation. 
 | 
Plugin | 
getPlugin()
Gets the plugin that owns this conversation. 
 | 
Object | 
getSessionData(Object key)
Gets session data shared between all  
Prompt invocations. | 
void | 
setSessionData(Object key,
              Object value)
Sets session data shared between all  
Prompt invocations. | 
public ConversationContext(Plugin plugin, Conversable forWhom, Map<Object,Object> initialSessionData)
plugin - The owning plugin.forWhom - The subject of the conversation.initialSessionData - Any initial values to put in the sessionData
     map.public Plugin getPlugin()
public Conversable getForWhom()
public Map<Object,Object> getAllSessionData()
public Object getSessionData(Object key)
Prompt invocations. Use
 this as a way to pass data through each Prompt as the conversation
 develops.key - The session data key.Copyright © 2021. All rights reserved.