DialogState Class

  • java.lang.Object
    • com.microsoft.bot.dialogs.DialogState

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<DialogInstance> 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

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

DialogState

public DialogState()

Initializes a new instance of the class with an empty stack.

DialogState

public DialogState(List withDialogStack)

Initializes a new instance of the class.

Parameters:

withDialogStack - The state information to initialize the stack with.

Method Details

getDialogStack

public List getDialogStack()

Gets the state information for a dialog stack.

Returns:

State information for a dialog stack.

setDialogStack

public void setDialogStack(List withDialogStack)

Sets the state information for a dialog stack.

Parameters:

withDialogStack - State information for a dialog stack.

Applies to