DialogState Class
- java.
lang. Object - com.
microsoft. bot. dialogs. DialogState
- com.
public class DialogState
Contains state information for the dialog stack.
Constructor Summary
| Constructor | Description |
|---|---|
| DialogState() |
Initializes a new instance of the class with an empty stack. |
| DialogState(List<DialogInstance> withDialogStack) |
Initializes a new instance of the class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
java.util.List<Dialog |
getDialogStack()
Gets the state information for a dialog stack. |
| void |
setDialogStack(List<DialogInstance> withDialogStack)
Sets the state information for a dialog stack. |
Methods inherited from java.lang.Object
Constructor Details
DialogState
public DialogState()
Initializes a new instance of the class with an empty stack.
DialogState
public DialogState(List
Initializes a new instance of the class.
Parameters:
Method Details
getDialogStack
public List
Gets the state information for a dialog stack.
Returns:
setDialogStack
public void setDialogStack(List
Sets the state information for a dialog stack.
Parameters: