SkillDialogOptions Class
- java.
lang. Object - com.
microsoft. bot. dialogs. SkillDialogOptions
- com.
public class SkillDialogOptions
Defines the options that will be used to execute a SkillDialog .
Constructor Summary
| Constructor | Description | |
|---|---|---|
| SkillDialogOptions() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String |
getBotId()
Gets the Microsoft app ID of the bot calling the skill. |
| java.lang.String |
getConnectionName()
Gets the OAuth Connection Name, that would be used to perform Single Sign |
|
Skill |
getConversationIdFactory()
Gets an instance of a SkillConversationIdFactoryBase used to generate conversation IDs for interacting with the skill. |
|
Conversation |
getConversationState()
Gets the ConversationState to be used by the dialog. |
|
Bot |
getSkill()
Gets the BotFrameworkSkill that the dialog will call. |
|
Bot |
getSkillClient()
Gets the BotFrameworkClient used to call the remote skill. |
| java.net.URI |
getSkillHostEndpoint()
Gets the callback Url for the skill host. |
| void |
setBotId(String withBotId)
Sets the Microsoft app ID of the bot calling the skill. |
| void |
setConnectionName(String withConnectionName)
Sets the OAuth Connection Name, that would be used to perform Single Sign |
| void |
setConversationIdFactory(SkillConversationIdFactoryBase withConversationIdFactory)
Sets an instance of a SkillConversationIdFactoryBase used to generate conversation IDs for interacting with the skill. |
| void |
setConversationState(ConversationState withConversationState)
Sets the ConversationState to be used by the dialog. |
| void |
setSkill(BotFrameworkSkill withSkill)
Sets the BotFrameworkSkill that the dialog will call. |
| void |
setSkillClient(BotFrameworkClient withSkillClient)
Sets the BotFrameworkClient used to call the remote skill. |
| void |
setSkillHostEndpoint(URI withSkillHostEndpoint)
Sets the callback Url for the skill host. |
Methods inherited from java.lang.Object
Constructor Details
SkillDialogOptions
public SkillDialogOptions()
Method Details
getBotId
public String getBotId()
Gets the Microsoft app ID of the bot calling the skill.
Returns:
getConnectionName
public String getConnectionName()
Gets the OAuth Connection Name, that would be used to perform Single SignOn with a skill.
Returns:
getConversationIdFactory
public SkillConversationIdFactoryBase getConversationIdFactory()
Gets an instance of a SkillConversationIdFactoryBase used to generate conversation IDs for interacting with the skill.
Returns:
getConversationState
public ConversationState getConversationState()
Gets the ConversationState to be used by the dialog.
Returns:
getSkill
public BotFrameworkSkill getSkill()
Gets the BotFrameworkSkill that the dialog will call.
Returns:
getSkillClient
public BotFrameworkClient getSkillClient()
Gets the BotFrameworkClient used to call the remote skill.
Returns:
getSkillHostEndpoint
public URI getSkillHostEndpoint()
Gets the callback Url for the skill host.
Returns:
setBotId
public void setBotId(String withBotId)
Sets the Microsoft app ID of the bot calling the skill.
Parameters:
setConnectionName
public void setConnectionName(String withConnectionName)
Sets the OAuth Connection Name, that would be used to perform Single SignOn with a skill.
Parameters:
setConversationIdFactory
public void setConversationIdFactory(SkillConversationIdFactoryBase withConversationIdFactory)
Sets an instance of a SkillConversationIdFactoryBase used to generate conversation IDs for interacting with the skill.
Parameters:
setConversationState
public void setConversationState(ConversationState withConversationState)
Sets the ConversationState to be used by the dialog.
Parameters:
setSkill
public void setSkill(BotFrameworkSkill withSkill)
Sets the BotFrameworkSkill that the dialog will call.
Parameters:
setSkillClient
public void setSkillClient(BotFrameworkClient withSkillClient)
Sets the BotFrameworkClient used to call the remote skill.
Parameters:
setSkillHostEndpoint
public void setSkillHostEndpoint(URI withSkillHostEndpoint)
Sets the callback Url for the skill host.
Parameters: