public static class DialogNode.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(java.lang.String dialogNode)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
DialogNode.Builder |
actions(java.util.List<DialogNodeAction> actions)
Set the actions.
|
DialogNode.Builder |
addActions(DialogNodeAction actions)
Adds an actions to actions.
|
DialogNode |
build()
Builds a DialogNode.
|
DialogNode.Builder |
conditions(java.lang.String conditions)
Set the conditions.
|
DialogNode.Builder |
context(java.util.Map context)
Set the context.
|
DialogNode.Builder |
created(java.util.Date created)
Set the created.
|
DialogNode.Builder |
description(java.lang.String description)
Set the description.
|
DialogNode.Builder |
dialogNode(java.lang.String dialogNode)
Set the dialogNode.
|
DialogNode.Builder |
digressIn(java.lang.String digressIn)
Set the digressIn.
|
DialogNode.Builder |
digressOut(java.lang.String digressOut)
Set the digressOut.
|
DialogNode.Builder |
digressOutSlots(java.lang.String digressOutSlots)
Set the digressOutSlots.
|
DialogNode.Builder |
disabled(java.lang.Boolean disabled)
Set the disabled.
|
DialogNode.Builder |
eventName(java.lang.String eventName)
Set the eventName.
|
DialogNode.Builder |
metadata(java.util.Map metadata)
Set the metadata.
|
DialogNode.Builder |
nextStep(DialogNodeNextStep nextStep)
Set the nextStep.
|
DialogNode.Builder |
nodeType(java.lang.String nodeType)
Set the nodeType.
|
DialogNode.Builder |
output(DialogNodeOutput output)
Set the output.
|
DialogNode.Builder |
parent(java.lang.String parent)
Set the parent.
|
DialogNode.Builder |
previousSibling(java.lang.String previousSibling)
Set the previousSibling.
|
DialogNode.Builder |
title(java.lang.String title)
Set the title.
|
DialogNode.Builder |
updated(java.util.Date updated)
Set the updated.
|
DialogNode.Builder |
userLabel(java.lang.String userLabel)
Set the userLabel.
|
DialogNode.Builder |
variable(java.lang.String variable)
Set the variable.
|
public Builder()
public Builder(java.lang.String dialogNode)
dialogNode
- the dialogNodepublic DialogNode build()
public DialogNode.Builder addActions(DialogNodeAction actions)
actions
- the new actionspublic DialogNode.Builder dialogNode(java.lang.String dialogNode)
dialogNode
- the dialogNodepublic DialogNode.Builder description(java.lang.String description)
description
- the descriptionpublic DialogNode.Builder conditions(java.lang.String conditions)
conditions
- the conditionspublic DialogNode.Builder parent(java.lang.String parent)
parent
- the parentpublic DialogNode.Builder previousSibling(java.lang.String previousSibling)
previousSibling
- the previousSiblingpublic DialogNode.Builder output(DialogNodeOutput output)
output
- the outputpublic DialogNode.Builder context(java.util.Map context)
context
- the contextpublic DialogNode.Builder metadata(java.util.Map metadata)
metadata
- the metadatapublic DialogNode.Builder nextStep(DialogNodeNextStep nextStep)
nextStep
- the nextSteppublic DialogNode.Builder title(java.lang.String title)
title
- the titlepublic DialogNode.Builder nodeType(java.lang.String nodeType)
nodeType
- the nodeTypepublic DialogNode.Builder eventName(java.lang.String eventName)
eventName
- the eventNamepublic DialogNode.Builder variable(java.lang.String variable)
variable
- the variablepublic DialogNode.Builder actions(java.util.List<DialogNodeAction> actions)
actions
- the actionspublic DialogNode.Builder digressIn(java.lang.String digressIn)
digressIn
- the digressInpublic DialogNode.Builder digressOut(java.lang.String digressOut)
digressOut
- the digressOutpublic DialogNode.Builder digressOutSlots(java.lang.String digressOutSlots)
digressOutSlots
- the digressOutSlotspublic DialogNode.Builder userLabel(java.lang.String userLabel)
userLabel
- the userLabelpublic DialogNode.Builder disabled(java.lang.Boolean disabled)
disabled
- the disabledpublic DialogNode.Builder created(java.util.Date created)
created
- the createdpublic DialogNode.Builder updated(java.util.Date updated)
updated
- the updated