public static final class Model.Node extends Object
Model.Frame. It may or may not entail visual changes in the app. Multiple
nodes within the same frame are used primarily to deliver different
prompts based on a combination of Rules and the data
available to the dialogue policy at any given time.| Constructor and Description |
|---|
Node()
No-arg constructor used by Gson deserialization.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
String |
getName() |
String |
getNext() |
Prompt[] |
getPrompts() |
Model.Rule[] |
getRules() |
Prompt |
randomPrompt() |
boolean |
requiresConfirmation() |
public String getNext()
public String getId()
public String getName()
public Prompt[] getPrompts()
public Model.Rule[] getRules()
public Prompt randomPrompt()
null if no
prompts are associated with it.public boolean requiresConfirmation()
true if this state requires confirmation before
leaving (if a node) or executing (if a feature).Copyright © 2021. All rights reserved.