Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ACTION - Enum constant in enum class com.dialoguebranch.model.protocol.DialogueStatement.SegmentType
- ActionSegment() - Constructor for class com.dialoguebranch.model.protocol.DialogueStatement.ActionSegment
- ActiveDialogue - Class in com.dialoguebranch.execution
-
An
ActiveDialogue
is a wrapper around aDLBDialogue
, which contains a static definition of a dialogue (referred to as thedialogueDefinition
). - ActiveDialogue(DLBDialogueDescription, DLBDialogue) - Constructor for class com.dialoguebranch.execution.ActiveDialogue
- addAction(DialogueAction) - Method in class com.dialoguebranch.model.protocol.ReplyMessage
-
Adds an action that should be performed when this reply is chosen.
- addActionSegment(DLBActionCommand) - Method in class com.dialoguebranch.model.protocol.DialogueStatement
- addAll(Map<? extends String, ?>, boolean, ZonedDateTime) - Method in class com.dialoguebranch.execution.DLBVariableStore
- addAll(Map<? extends String, ?>, boolean, ZonedDateTime, DLBVariableStoreChange.Source) - Method in class com.dialoguebranch.execution.DLBVariableStore
- addClause(DLBRandomCommand.Clause) - Method in class com.dialoguebranch.model.command.DLBRandomCommand
-
Adds a clause.
- addCommand(DLBCommand) - Method in class com.dialoguebranch.model.DLBReply
-
Adds a command that should be executed when this reply is chosen.
- addIfClause(DLBIfCommand.Clause) - Method in class com.dialoguebranch.model.command.DLBIfCommand
-
Adds an if clause.
- addInputSegment(DLBInputCommand) - Method in class com.dialoguebranch.model.protocol.DialogueStatement
- addLanguageSet(DLBLanguageSet) - Method in class com.dialoguebranch.model.language.DLBLanguageMap
-
Adds the given
DLBLanguageSet
to thisDLBLanguageMap
. - addNode(DLBNode) - Method in class com.dialoguebranch.model.DLBDialogue
- addNodePointerToken(DLBNodePointer, DLBBodyToken) - Method in class com.dialoguebranch.parser.DLBNodeState
- addOnChangeListener(DLBVariableStoreOnChangeListener) - Method in class com.dialoguebranch.execution.DLBVariableStore
-
Adds the given
DLBVariableStoreOnChangeListener
to the list of listeners for thisDLBVariableStore
. - addOptionalTag(String, String) - Method in class com.dialoguebranch.model.DLBNodeHeader
- addParameter(String, DLBVariableString) - Method in class com.dialoguebranch.model.command.DLBActionCommand
- addReply(DLBReply) - Method in class com.dialoguebranch.model.DLBNodeBody
- addReply(ReplyMessage) - Method in class com.dialoguebranch.model.protocol.DialogueMessage
- addSegment(DLBNodeBody.Segment) - Method in class com.dialoguebranch.model.DLBNodeBody
- addSegment(DLBVariableString.Segment) - Method in class com.dialoguebranch.model.DLBVariableString
- addSegments(Iterable<DLBVariableString.Segment>) - Method in class com.dialoguebranch.model.DLBVariableString
- addSourceLanguage(String, String) - Method in class com.dialoguebranch.model.DLBProjectMetaData
-
Attempts to add a new source language to this DialogueBranch project with the given
name
andcode
by creating a newDLBLanguageSet
for it. - addTerm(String, String, String) - Method in class com.dialoguebranch.i18n.DLBTranslationFile
- addTextSegment(String) - Method in class com.dialoguebranch.model.protocol.DialogueStatement
- addTranslationLanguage(DLBLanguage) - Method in class com.dialoguebranch.model.language.DLBLanguageSet
- addTranslationLanguage(String, String, DLBLanguageSet) - Method in class com.dialoguebranch.model.DLBProjectMetaData
-
Attempts to add a new language with the given
name
andcode
to the givenDLBLanguageSet
as a translation language. - AGENT - Enum constant in enum class com.dialoguebranch.model.DLBMessageSource
- AGENT_NOT_FOUND - Enum constant in enum class com.dialoguebranch.exception.DLBException.Type
B
- body - Variable in class com.dialoguebranch.parser.DLBBodyParser.ParseUntilCommandClauseResult
C
- Clause(float, DLBNodeBody) - Constructor for class com.dialoguebranch.model.command.DLBRandomCommand.Clause
-
Constructs a new clause.
- Clause(DLBIfCommand.Clause) - Constructor for class com.dialoguebranch.model.command.DLBIfCommand.Clause
- Clause(DLBRandomCommand.Clause) - Constructor for class com.dialoguebranch.model.command.DLBRandomCommand.Clause
- Clause(Expression, DLBNodeBody) - Constructor for class com.dialoguebranch.model.command.DLBIfCommand.Clause
-
Constructs a new if clause.
- Clear(ZonedDateTime) - Constructor for class com.dialoguebranch.execution.DLBVariableStoreChange.Clear
-
Creates an instance of a
DLBVariableStoreChange.Clear
DLBVariableStoreChange
indicating a full clear (removed all variables) of the DialogueBranch Variable Store. - Clear(ZonedDateTime, DLBVariableStoreChange.Source) - Constructor for class com.dialoguebranch.execution.DLBVariableStoreChange.Clear
-
Creates an instance of a
DLBVariableStoreChange.Clear
DLBVariableStoreChange
indicating a full clear (removed all variables) of the DialogueBranch Variable Store. - clearSegments() - Method in class com.dialoguebranch.model.DLBNodeBody
- clone() - Method in class com.dialoguebranch.model.command.DLBActionCommand
- clone() - Method in class com.dialoguebranch.model.command.DLBCommand
-
Returns a deep copy of this command.
- clone() - Method in class com.dialoguebranch.model.command.DLBIfCommand
- clone() - Method in class com.dialoguebranch.model.command.DLBInputEmailCommand
- clone() - Method in class com.dialoguebranch.model.command.DLBInputLongtextCommand
- clone() - Method in class com.dialoguebranch.model.command.DLBInputNumericCommand
- clone() - Method in class com.dialoguebranch.model.command.DLBInputSetCommand
- clone() - Method in class com.dialoguebranch.model.command.DLBInputTextCommand
- clone() - Method in class com.dialoguebranch.model.command.DLBInputTimeCommand
- clone() - Method in class com.dialoguebranch.model.command.DLBRandomCommand
- clone() - Method in class com.dialoguebranch.model.command.DLBSetCommand
- clone() - Method in class com.dialoguebranch.model.DLBNodeBody.CommandSegment
- clone() - Method in class com.dialoguebranch.model.DLBNodeBody.Segment
-
Returns a deep copy of this segment.
- clone() - Method in class com.dialoguebranch.model.DLBNodeBody.TextSegment
- clone() - Method in class com.dialoguebranch.model.DLBVariableString.Segment
- clone() - Method in class com.dialoguebranch.model.DLBVariableString.TextSegment
- clone() - Method in class com.dialoguebranch.model.DLBVariableString.VariableSegment
- clone() - Method in class com.dialoguebranch.model.nodepointer.DLBNodePointer
- clone() - Method in class com.dialoguebranch.model.nodepointer.DLBNodePointerExternal
- clone() - Method in class com.dialoguebranch.model.nodepointer.DLBNodePointerInternal
- close() - Method in class com.dialoguebranch.parser.DLBParser
- cmdClauseName - Variable in class com.dialoguebranch.parser.DLBBodyParser.ParseUntilCommandClauseResult
- cmdClauseStartToken - Variable in class com.dialoguebranch.parser.DLBBodyParser.ParseUntilCommandClauseResult
- colNum - Variable in class com.dialoguebranch.model.command.DLBExpressionCommand.ReadContentResult
- com.dialoguebranch.exception - package com.dialoguebranch.exception
- com.dialoguebranch.execution - package com.dialoguebranch.execution
- com.dialoguebranch.i18n - package com.dialoguebranch.i18n
- com.dialoguebranch.model - package com.dialoguebranch.model
- com.dialoguebranch.model.command - package com.dialoguebranch.model.command
- com.dialoguebranch.model.language - package com.dialoguebranch.model.language
- com.dialoguebranch.model.nodepointer - package com.dialoguebranch.model.nodepointer
- com.dialoguebranch.model.protocol - package com.dialoguebranch.model.protocol
- com.dialoguebranch.parser - package com.dialoguebranch.parser
- COMMAND_END - Enum constant in enum class com.dialoguebranch.parser.DLBBodyToken.Type
- COMMAND_START - Enum constant in enum class com.dialoguebranch.parser.DLBBodyToken.Type
- CommandSegment(DLBCommand) - Constructor for class com.dialoguebranch.model.DLBNodeBody.CommandSegment
- CommandSegment(DLBNodeBody.CommandSegment) - Constructor for class com.dialoguebranch.model.DLBNodeBody.CommandSegment
- COMPLETED - Enum constant in enum class com.dialoguebranch.model.DialogueStatus
- content - Variable in class com.dialoguebranch.model.command.DLBExpressionCommand.ReadContentResult
- context - Variable in class com.dialoguebranch.i18n.DLBTranslationTerm
- createNextReplyId() - Method in class com.dialoguebranch.parser.DLBNodeState
D
- deserialize(JsonParser, DeserializationContext) - Method in class com.dialoguebranch.model.protocol.DialogueStatement.InputSegmentDeserializer
- deserialize(JsonParser, DeserializationContext) - Method in class com.dialoguebranch.model.protocol.DialogueStatement.SegmentDeserializer
- DIALOGUE_NAME_REGEX - Static variable in class com.dialoguebranch.parser.DLBParser
- DIALOGUE_NOT_FOUND - Enum constant in enum class com.dialoguebranch.exception.DLBException.Type
- DialogueAction - Class in com.dialoguebranch.model.protocol
-
This class is used for dialogue actions that are sent to the client in the web service protocol.
- DialogueAction() - Constructor for class com.dialoguebranch.model.protocol.DialogueAction
- DialogueAction(DLBActionCommand) - Constructor for class com.dialoguebranch.model.protocol.DialogueAction
- DialogueMessage - Class in com.dialoguebranch.model.protocol
-
This class is used for dialogue messages that are sent to the client in the web service protocol.
- DialogueMessage() - Constructor for class com.dialoguebranch.model.protocol.DialogueMessage
- DialogueMessageFactory - Class in com.dialoguebranch.model.protocol
- DialogueMessageFactory() - Constructor for class com.dialoguebranch.model.protocol.DialogueMessageFactory
- DialogueState - Class in com.dialoguebranch.model
- DialogueState(DLBDialogueDescription, DLBDialogue, DLBLoggedDialogue, int, ActiveDialogue) - Constructor for class com.dialoguebranch.model.DialogueState
- DialogueStatement - Class in com.dialoguebranch.model.protocol
-
This class is used for dialogue statements that are sent to the client in the web service protocol.
- DialogueStatement() - Constructor for class com.dialoguebranch.model.protocol.DialogueStatement
- DialogueStatement.ActionSegment - Class in com.dialoguebranch.model.protocol
- DialogueStatement.InputSegment - Class in com.dialoguebranch.model.protocol
- DialogueStatement.InputSegmentDeserializer - Class in com.dialoguebranch.model.protocol
- DialogueStatement.InputSegmentSerializer - Class in com.dialoguebranch.model.protocol
- DialogueStatement.Segment - Class in com.dialoguebranch.model.protocol
- DialogueStatement.SegmentDeserializer - Class in com.dialoguebranch.model.protocol
- DialogueStatement.SegmentType - Enum Class in com.dialoguebranch.model.protocol
- DialogueStatement.TextSegment - Class in com.dialoguebranch.model.protocol
- DialogueStatus - Enum Class in com.dialoguebranch.model
- DLB_SCRIPT - Enum constant in enum class com.dialoguebranch.execution.DLBVariableStoreChange.Source
- DLBActionCommand - Class in com.dialoguebranch.model.command
-
This command models the <<action ...>> command in DialogueBranch.
- DLBActionCommand(DLBActionCommand) - Constructor for class com.dialoguebranch.model.command.DLBActionCommand
- DLBActionCommand(String, DLBVariableString) - Constructor for class com.dialoguebranch.model.command.DLBActionCommand
- DLBAttributesCommand - Class in com.dialoguebranch.model.command
- DLBAttributesCommand() - Constructor for class com.dialoguebranch.model.command.DLBAttributesCommand
- DLBBodyParser - Class in com.dialoguebranch.parser
- DLBBodyParser(DLBNodeState) - Constructor for class com.dialoguebranch.parser.DLBBodyParser
- DLBBodyParser.ParseUntilCommandClauseResult - Class in com.dialoguebranch.parser
- DLBBodyToken - Class in com.dialoguebranch.parser
- DLBBodyToken() - Constructor for class com.dialoguebranch.parser.DLBBodyToken
- DLBBodyToken.Type - Enum Class in com.dialoguebranch.parser
- DLBBodyTokenizer - Class in com.dialoguebranch.parser
- DLBBodyTokenizer() - Constructor for class com.dialoguebranch.parser.DLBBodyTokenizer
- DLBCommand - Class in com.dialoguebranch.model.command
-
Base class for commands that are specified with <<...>> in DialogueBranch statements and replies.
- DLBCommand() - Constructor for class com.dialoguebranch.model.command.DLBCommand
- DLBCommandParser - Class in com.dialoguebranch.parser
- DLBCommandParser(List<String>, DLBNodeState) - Constructor for class com.dialoguebranch.parser.DLBCommandParser
- DLBContextTranslation - Class in com.dialoguebranch.i18n
-
This class models the translation of a phrase in a DialogueBranch dialogue, along with a context set.
- DLBContextTranslation(Set<String>, DLBTranslatable) - Constructor for class com.dialoguebranch.i18n.DLBContextTranslation
- DLBDialogue - Class in com.dialoguebranch.model
-
Object representation of a DialogueBranch Dialogue definition.
- DLBDialogue() - Constructor for class com.dialoguebranch.model.DLBDialogue
-
Creates an empty instance of a
DLBDialogue
. - DLBDialogue(DLBDialogue) - Constructor for class com.dialoguebranch.model.DLBDialogue
-
Creates an instance of a
DLBDialogue
, instantiated with the contents of the givenother
DLBDialogue
. - DLBDialogue(String) - Constructor for class com.dialoguebranch.model.DLBDialogue
-
Creates an instance of a
DLBDialogue
with a givendialogueName
. - DLBDialogueDescription - Class in com.dialoguebranch.model
- DLBDialogueDescription() - Constructor for class com.dialoguebranch.model.DLBDialogueDescription
- DLBDialogueDescription(String, String) - Constructor for class com.dialoguebranch.model.DLBDialogueDescription
- DLBDirectoryFileLoader - Class in com.dialoguebranch.parser
- DLBDirectoryFileLoader(File) - Constructor for class com.dialoguebranch.parser.DLBDirectoryFileLoader
- DLBDuplicateLanguageCodeException - Exception Class in com.dialoguebranch.exception
- DLBDuplicateLanguageCodeException(String, String) - Constructor for exception class com.dialoguebranch.exception.DLBDuplicateLanguageCodeException
-
Constructs a new exception for the specified language code.
- DLBException - Exception Class in com.dialoguebranch.exception
-
A
DLBException
is an exception that can be thrown during execution of a Dialogue Branch dialogue. - DLBException(DLBException.Type, String) - Constructor for exception class com.dialoguebranch.exception.DLBException
- DLBException(DLBException.Type, String, Throwable) - Constructor for exception class com.dialoguebranch.exception.DLBException
- DLBException.Type - Enum Class in com.dialoguebranch.exception
- DLBExpressionCommand - Class in com.dialoguebranch.model.command
- DLBExpressionCommand() - Constructor for class com.dialoguebranch.model.command.DLBExpressionCommand
- DLBExpressionCommand.ParseContentResult - Class in com.dialoguebranch.model.command
- DLBExpressionCommand.ReadContentResult - Class in com.dialoguebranch.model.command
- DLBFileDescription - Class in com.dialoguebranch.parser
-
This class describes a DialogueBranch file.
- DLBFileDescription() - Constructor for class com.dialoguebranch.parser.DLBFileDescription
- DLBFileDescription(String, String) - Constructor for class com.dialoguebranch.parser.DLBFileDescription
-
Constructs a new description.
- DLBFileLoader - Interface in com.dialoguebranch.parser
-
A DialogueBranch file loader is used by a
DLBProjectParser
to list and open DialogueBranch dialogue files (.dlb) and translation files (.json) within a DialogueBranch project. - DLBIfCommand - Class in com.dialoguebranch.model.command
-
This class models the <<if ...>> command in DialogueBranch.
- DLBIfCommand() - Constructor for class com.dialoguebranch.model.command.DLBIfCommand
- DLBIfCommand(DLBIfCommand) - Constructor for class com.dialoguebranch.model.command.DLBIfCommand
- DLBIfCommand.Clause - Class in com.dialoguebranch.model.command
-
This class models a clause of an if statement.
- DLBInputAbstractTextCommand - Class in com.dialoguebranch.model.command
- DLBInputAbstractTextCommand(DLBInputAbstractTextCommand) - Constructor for class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
- DLBInputAbstractTextCommand(String, String) - Constructor for class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
- DLBInputCommand - Class in com.dialoguebranch.model.command
-
This class models the <<input ...>> command in DialogueBranch.
- DLBInputCommand(DLBInputCommand) - Constructor for class com.dialoguebranch.model.command.DLBInputCommand
- DLBInputCommand(String) - Constructor for class com.dialoguebranch.model.command.DLBInputCommand
- DLBInputEmailCommand - Class in com.dialoguebranch.model.command
- DLBInputEmailCommand(DLBInputEmailCommand) - Constructor for class com.dialoguebranch.model.command.DLBInputEmailCommand
- DLBInputEmailCommand(String) - Constructor for class com.dialoguebranch.model.command.DLBInputEmailCommand
- DLBInputLongtextCommand - Class in com.dialoguebranch.model.command
- DLBInputLongtextCommand(DLBInputLongtextCommand) - Constructor for class com.dialoguebranch.model.command.DLBInputLongtextCommand
- DLBInputLongtextCommand(String) - Constructor for class com.dialoguebranch.model.command.DLBInputLongtextCommand
- DLBInputNumericCommand - Class in com.dialoguebranch.model.command
- DLBInputNumericCommand(DLBInputNumericCommand) - Constructor for class com.dialoguebranch.model.command.DLBInputNumericCommand
- DLBInputNumericCommand(String) - Constructor for class com.dialoguebranch.model.command.DLBInputNumericCommand
- DLBInputSetCommand - Class in com.dialoguebranch.model.command
- DLBInputSetCommand() - Constructor for class com.dialoguebranch.model.command.DLBInputSetCommand
- DLBInputSetCommand(DLBInputSetCommand) - Constructor for class com.dialoguebranch.model.command.DLBInputSetCommand
- DLBInputSetCommand.Option - Class in com.dialoguebranch.model.command
- DLBInputTextCommand - Class in com.dialoguebranch.model.command
- DLBInputTextCommand(DLBInputTextCommand) - Constructor for class com.dialoguebranch.model.command.DLBInputTextCommand
- DLBInputTextCommand(String) - Constructor for class com.dialoguebranch.model.command.DLBInputTextCommand
- DLBInputTimeCommand - Class in com.dialoguebranch.model.command
- DLBInputTimeCommand(DLBInputTimeCommand) - Constructor for class com.dialoguebranch.model.command.DLBInputTimeCommand
- DLBInputTimeCommand(String) - Constructor for class com.dialoguebranch.model.command.DLBInputTimeCommand
- DLBLanguage - Class in com.dialoguebranch.model.language
-
A
DLBLanguage
defines a language used in a DialogueBranch project with a given name and language code. - DLBLanguage() - Constructor for class com.dialoguebranch.model.language.DLBLanguage
-
Creates an empty instance of a
DLBLanguage
. - DLBLanguage(String, String) - Constructor for class com.dialoguebranch.model.language.DLBLanguage
- DLBLanguageMap - Class in com.dialoguebranch.model.language
-
A
DLBLanguageMap
is a wrapper object containing aList
ofDLBLanguageSet
s, as well as some convenience methods for manipulatingDLBLanguageSet
s. - DLBLanguageMap() - Constructor for class com.dialoguebranch.model.language.DLBLanguageMap
-
Creates an instance of an empty
DLBLanguageMap
. - DLBLanguageMap(List<DLBLanguageSet>) - Constructor for class com.dialoguebranch.model.language.DLBLanguageMap
-
Creates an instance of a
DLBLanguageMap
with a givenDLBLanguageSet
. - DLBLanguageSet - Class in com.dialoguebranch.model.language
- DLBLanguageSet() - Constructor for class com.dialoguebranch.model.language.DLBLanguageSet
- DLBLanguageSet(DLBLanguage) - Constructor for class com.dialoguebranch.model.language.DLBLanguageSet
- DLBLoggedDialogue - Interface in com.dialoguebranch.model
- DLBLoggedInteraction - Class in com.dialoguebranch.model
- DLBLoggedInteraction() - Constructor for class com.dialoguebranch.model.DLBLoggedInteraction
- DLBLoggedInteraction(long, DLBMessageSource, String, String, String, int, String) - Constructor for class com.dialoguebranch.model.DLBLoggedInteraction
- DLBLoggedInteraction(long, DLBMessageSource, String, String, String, int, String, int) - Constructor for class com.dialoguebranch.model.DLBLoggedInteraction
- DLBMessageSource - Enum Class in com.dialoguebranch.model
- DLBNode - Class in com.dialoguebranch.model
-
A
DLBNode
represents a single step in aDLBDialogue
definition. - DLBNode() - Constructor for class com.dialoguebranch.model.DLBNode
-
Creates an instance of an empty
DLBNode
. - DLBNode(DLBNode) - Constructor for class com.dialoguebranch.model.DLBNode
- DLBNode(DLBNodeHeader) - Constructor for class com.dialoguebranch.model.DLBNode
-
Creates an instance of a
DLBNode
with the givenheader
. - DLBNode(DLBNodeHeader, DLBNodeBody) - Constructor for class com.dialoguebranch.model.DLBNode
- DLBNodeBody - Class in com.dialoguebranch.model
-
A node body can occur in three different contexts inside a
DLBNode
. - DLBNodeBody() - Constructor for class com.dialoguebranch.model.DLBNodeBody
- DLBNodeBody(DLBNodeBody) - Constructor for class com.dialoguebranch.model.DLBNodeBody
- DLBNodeBody.CommandSegment - Class in com.dialoguebranch.model
- DLBNodeBody.Segment - Class in com.dialoguebranch.model
- DLBNodeBody.TextSegment - Class in com.dialoguebranch.model
- DLBNodeHeader - Class in com.dialoguebranch.model
- DLBNodeHeader() - Constructor for class com.dialoguebranch.model.DLBNodeHeader
- DLBNodeHeader(DLBNodeHeader) - Constructor for class com.dialoguebranch.model.DLBNodeHeader
- DLBNodeHeader(String) - Constructor for class com.dialoguebranch.model.DLBNodeHeader
- DLBNodeHeader(String, Map<String, String>) - Constructor for class com.dialoguebranch.model.DLBNodeHeader
- DLBNodeParseException - Exception Class in com.dialoguebranch.exception
-
This exception indicates a parse error within a node.
- DLBNodeParseException(String, String, LineNumberParseException) - Constructor for exception class com.dialoguebranch.exception.DLBNodeParseException
-
Constructs a new exception in the specified node.
- DLBNodePointer - Class in com.dialoguebranch.model.nodepointer
-
An abstract representation of a pointer to a next node.
- DLBNodePointer(DLBNodePointer) - Constructor for class com.dialoguebranch.model.nodepointer.DLBNodePointer
- DLBNodePointer(String) - Constructor for class com.dialoguebranch.model.nodepointer.DLBNodePointer
-
Creates an instance of a
DLBNodePointer
with givennodeId
. - DLBNodePointerExternal - Class in com.dialoguebranch.model.nodepointer
-
A pointer to a node that is part of a different dialogue than the dialogue of which the node that is being referred from is a part.
- DLBNodePointerExternal(DLBNodePointerExternal) - Constructor for class com.dialoguebranch.model.nodepointer.DLBNodePointerExternal
- DLBNodePointerExternal(String, String, String) - Constructor for class com.dialoguebranch.model.nodepointer.DLBNodePointerExternal
- DLBNodePointerInternal - Class in com.dialoguebranch.model.nodepointer
-
A pointer to a node that is part of the same dialogue as the node that is being referred from.
- DLBNodePointerInternal(DLBNodePointerInternal) - Constructor for class com.dialoguebranch.model.nodepointer.DLBNodePointerInternal
- DLBNodePointerInternal(String) - Constructor for class com.dialoguebranch.model.nodepointer.DLBNodePointerInternal
- DLBNodeState - Class in com.dialoguebranch.parser
- DLBNodeState(String) - Constructor for class com.dialoguebranch.parser.DLBNodeState
- DLBNodeState.NodePointerToken - Class in com.dialoguebranch.parser
- DLBParser - Class in com.dialoguebranch.parser
- DLBParser(File) - Constructor for class com.dialoguebranch.parser.DLBParser
- DLBParser(String) - Constructor for class com.dialoguebranch.parser.DLBParser
- DLBParser(String, InputStream) - Constructor for class com.dialoguebranch.parser.DLBParser
- DLBParser(String, Reader) - Constructor for class com.dialoguebranch.parser.DLBParser
- DLBParserResult - Class in com.dialoguebranch.parser
-
A
DLBParserResult
object contains the results of parsing a .dlb file, including the resultingDLBDialogue
and a list ofParseException
s. - DLBParserResult() - Constructor for class com.dialoguebranch.parser.DLBParserResult
-
Creates an instance of an empty
DLBParserResult
object. - DLBProject - Class in com.dialoguebranch.model
- DLBProject() - Constructor for class com.dialoguebranch.model.DLBProject
- DLBProjectMetaData - Class in com.dialoguebranch.model
-
The
DLBProjectMetaData
class is the object representation of a DialogueBranch metadata .xml file. - DLBProjectMetaData() - Constructor for class com.dialoguebranch.model.DLBProjectMetaData
-
Creates an instance of an empty
DLBProjectMetaData
object. - DLBProjectMetaData(String, String, String, String, DLBLanguageMap) - Constructor for class com.dialoguebranch.model.DLBProjectMetaData
-
Creates an instance of a
DLBProjectMetaData
object with the given parameters. - DLBProjectParser - Class in com.dialoguebranch.parser
-
This class can read an entire DialogueBranch project consisting of ".dlb" dialogue files and ".json" translation files.
- DLBProjectParser(DLBFileLoader) - Constructor for class com.dialoguebranch.parser.DLBProjectParser
- DLBProjectParserResult - Class in com.dialoguebranch.parser
-
This class contains the result of parsing a DialogueBranch project with the
DLBProjectParser
. - DLBProjectParserResult() - Constructor for class com.dialoguebranch.parser.DLBProjectParserResult
- DLBRandomCommand - Class in com.dialoguebranch.model.command
-
This class models the <<random ...>> command in DialogueBranch.
- DLBRandomCommand() - Constructor for class com.dialoguebranch.model.command.DLBRandomCommand
- DLBRandomCommand(DLBRandomCommand) - Constructor for class com.dialoguebranch.model.command.DLBRandomCommand
- DLBRandomCommand.Clause - Class in com.dialoguebranch.model.command
-
This class models a clause of a "random" statement.
- DLBReply - Class in com.dialoguebranch.model
-
A reply option within a
DLBNodeBody
. - DLBReply(int, DLBNodeBody, DLBNodePointer) - Constructor for class com.dialoguebranch.model.DLBReply
-
Constructs a new reply.
- DLBReply(int, DLBNodePointer) - Constructor for class com.dialoguebranch.model.DLBReply
-
Constructs an auto-forward reply without a statement.
- DLBReply(DLBReply) - Constructor for class com.dialoguebranch.model.DLBReply
- DLBReplyParser - Class in com.dialoguebranch.parser
- DLBReplyParser(DLBNodeState) - Constructor for class com.dialoguebranch.parser.DLBReplyParser
- DLBResourceFileLoader - Class in com.dialoguebranch.parser
-
This DialogueBranch file loader can load files from resources on the classpath.
- DLBResourceFileLoader(String) - Constructor for class com.dialoguebranch.parser.DLBResourceFileLoader
-
Constructs a new instance.
- DLBSetCommand - Class in com.dialoguebranch.model.command
-
This class models a <<set ...>> command.
- DLBSetCommand(DLBSetCommand) - Constructor for class com.dialoguebranch.model.command.DLBSetCommand
- DLBSetCommand(AssignExpression) - Constructor for class com.dialoguebranch.model.command.DLBSetCommand
- DLBSourceTranslatable - Class in com.dialoguebranch.i18n
- DLBSourceTranslatable(String, String, DLBTranslatable) - Constructor for class com.dialoguebranch.i18n.DLBSourceTranslatable
- DLBTranslatable - Class in com.dialoguebranch.i18n
-
This class models a translatable segment from a
DLBNodeBody
. - DLBTranslatable(DLBNodeBody, List<DLBNodeBody.Segment>) - Constructor for class com.dialoguebranch.i18n.DLBTranslatable
-
Constructs a new
DLBTranslatable
. - DLBTranslatableExtractor - Class in com.dialoguebranch.i18n
-
This class can extract all translatable segments (plain text, variables and <<input>> commands) from a
DLBNode
orDLBNodeBody
. - DLBTranslatableExtractor() - Constructor for class com.dialoguebranch.i18n.DLBTranslatableExtractor
- DLBTranslationContext - Class in com.dialoguebranch.i18n
-
A
DLBTranslationContext
describes relevant parameters defining the context in which dialogue statements should be translated from source- to target languages. - DLBTranslationContext() - Constructor for class com.dialoguebranch.i18n.DLBTranslationContext
-
Creates an empty instance of a
DLBTranslationContext
. - DLBTranslationContext(DLBTranslationContext.Gender, Map<String, DLBTranslationContext.Gender>) - Constructor for class com.dialoguebranch.i18n.DLBTranslationContext
-
Creates an instance of a
DLBTranslationContext
with a givenuserGender
and a mapping ofagentGenders
. - DLBTranslationContext.Gender - Enum Class in com.dialoguebranch.i18n
- DLBTranslationFile - Class in com.dialoguebranch.i18n
-
A
DLBTranslationFile
is an object representation of a JSON file that contains translations for a single .dlb script. - DLBTranslationFile(String) - Constructor for class com.dialoguebranch.i18n.DLBTranslationFile
- DLBTranslationParser - Class in com.dialoguebranch.i18n
-
This class can parse a DialogueBranch translation file.
- DLBTranslationParser() - Constructor for class com.dialoguebranch.i18n.DLBTranslationParser
- DLBTranslationParserResult - Class in com.dialoguebranch.i18n
- DLBTranslationParserResult() - Constructor for class com.dialoguebranch.i18n.DLBTranslationParserResult
- DLBTranslationTerm - Class in com.dialoguebranch.i18n
- DLBTranslationTerm() - Constructor for class com.dialoguebranch.i18n.DLBTranslationTerm
- DLBTranslationTerm(String, String) - Constructor for class com.dialoguebranch.i18n.DLBTranslationTerm
- DLBTranslator - Class in com.dialoguebranch.i18n
-
This class can translate
DLBNode
s given a translation map. - DLBTranslator(DLBTranslationContext, Map<DLBTranslatable, List<DLBContextTranslation>>) - Constructor for class com.dialoguebranch.i18n.DLBTranslator
-
Constructs a new translator.
- DLBUnknownLanguageCodeException - Exception Class in com.dialoguebranch.exception
- DLBUnknownLanguageCodeException(String, String) - Constructor for exception class com.dialoguebranch.exception.DLBUnknownLanguageCodeException
-
Constructs a new exception for the specified language code.
- DLBUser - Class in com.dialoguebranch.execution
-
A
DLBUser
represents the person that is interacting with a DialogueBranch dialogue. - DLBUser(String) - Constructor for class com.dialoguebranch.execution.DLBUser
-
Creates an instance of a
DLBUser
in the system's default time zone. - DLBUser(String, ZoneId) - Constructor for class com.dialoguebranch.execution.DLBUser
- DLBVariable - Class in com.dialoguebranch.execution
- DLBVariable(String, Object, Long, String) - Constructor for class com.dialoguebranch.execution.DLBVariable
- DLBVariable(String, Object, ZonedDateTime) - Constructor for class com.dialoguebranch.execution.DLBVariable
- DLBVariableException - Exception Class in com.dialoguebranch.exception
-
This exception can be thrown when the content of the variable store is not as expected.
- DLBVariableException(String) - Constructor for exception class com.dialoguebranch.exception.DLBVariableException
-
Creates an instance of a
DLBVariableException
with givenmessage
. - DLBVariableException(String, Throwable) - Constructor for exception class com.dialoguebranch.exception.DLBVariableException
- DLBVariableException(Throwable) - Constructor for exception class com.dialoguebranch.exception.DLBVariableException
-
Creates an instance of a
DLBVariableException
with givencause
. - DLBVariableStore - Class in com.dialoguebranch.execution
-
A
DLBVariableStore
is an object that stores all DialogueBranch variable values for a given user. - DLBVariableStore(DLBUser) - Constructor for class com.dialoguebranch.execution.DLBVariableStore
-
Creates an instance of a new
DLBVariableStore
for a user in the giventimeZone
. - DLBVariableStore(DLBUser, DLBVariable[]) - Constructor for class com.dialoguebranch.execution.DLBVariableStore
- DLBVariableStoreChange - Class in com.dialoguebranch.execution
- DLBVariableStoreChange(ZonedDateTime, DLBVariableStoreChange.Source) - Constructor for class com.dialoguebranch.execution.DLBVariableStoreChange
- DLBVariableStoreChange.Clear - Class in com.dialoguebranch.execution
-
An implementation of
DLBVariableStoreChange
representing a full clear of theDLBVariableStore
. - DLBVariableStoreChange.Put - Class in com.dialoguebranch.execution
-
An implementation of
DLBVariableStoreChange
representing a set of addedDLBVariable
s. - DLBVariableStoreChange.Remove - Class in com.dialoguebranch.execution
-
An implementation of
DLBVariableStoreChange
representing a set of removed DialogueBranch Variables, identified by their variable names. - DLBVariableStoreChange.Source - Enum Class in com.dialoguebranch.execution
-
Defines a set of possible source of changes to the DLBVariableStore.
- DLBVariableStoreOnChangeListener - Interface in com.dialoguebranch.execution
-
Interface for listeners that can be registered at a
DLBVariableStore
. - DLBVariableString - Class in com.dialoguebranch.model
-
This class represents a text with possible variables.
- DLBVariableString() - Constructor for class com.dialoguebranch.model.DLBVariableString
- DLBVariableString(DLBVariableString) - Constructor for class com.dialoguebranch.model.DLBVariableString
- DLBVariableString(String) - Constructor for class com.dialoguebranch.model.DLBVariableString
- DLBVariableString.Segment - Class in com.dialoguebranch.model
- DLBVariableString.TextSegment - Class in com.dialoguebranch.model
- DLBVariableString.VariableSegment - Class in com.dialoguebranch.model
E
- equals(Object) - Method in class com.dialoguebranch.i18n.DLBTranslatable
- equals(Object) - Method in class com.dialoguebranch.model.DLBDialogueDescription
- equals(Object) - Method in class com.dialoguebranch.model.nodepointer.DLBNodePointer
- equals(Object) - Method in class com.dialoguebranch.model.nodepointer.DLBNodePointerExternal
- equals(Object) - Method in class com.dialoguebranch.parser.DLBFileDescription
- evaluate(Map<String, Object>) - Method in class com.dialoguebranch.model.DLBVariableString
-
Evaluates this variable string with respect to the specified variables.
- execute(Map<String, Object>) - Method in class com.dialoguebranch.model.DLBReply
-
Executes the statement in this reply with respect to the specified variable map.
- execute(Map<String, Object>) - Method in class com.dialoguebranch.model.DLBVariableString
-
Executes this variable string with respect to the specified variables.
- execute(Map<String, Object>, boolean, DLBNodeBody) - Method in class com.dialoguebranch.model.DLBNodeBody
-
Executes the agent statement and reply statements in this body with respect to the specified variable map.
- executeBodyCommand(Map<String, Object>, DLBNodeBody) - Method in class com.dialoguebranch.model.command.DLBActionCommand
- executeBodyCommand(Map<String, Object>, DLBNodeBody) - Method in class com.dialoguebranch.model.command.DLBCommand
-
This method is called if this command occurs in a statement body.
- executeBodyCommand(Map<String, Object>, DLBNodeBody) - Method in class com.dialoguebranch.model.command.DLBIfCommand
- executeBodyCommand(Map<String, Object>, DLBNodeBody) - Method in class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
- executeBodyCommand(Map<String, Object>, DLBNodeBody) - Method in class com.dialoguebranch.model.command.DLBInputEmailCommand
- executeBodyCommand(Map<String, Object>, DLBNodeBody) - Method in class com.dialoguebranch.model.command.DLBInputNumericCommand
- executeBodyCommand(Map<String, Object>, DLBNodeBody) - Method in class com.dialoguebranch.model.command.DLBInputSetCommand
- executeBodyCommand(Map<String, Object>, DLBNodeBody) - Method in class com.dialoguebranch.model.command.DLBInputTimeCommand
- executeBodyCommand(Map<String, Object>, DLBNodeBody) - Method in class com.dialoguebranch.model.command.DLBRandomCommand
- executeBodyCommand(Map<String, Object>, DLBNodeBody) - Method in class com.dialoguebranch.model.command.DLBSetCommand
- executeDLBNode(DLBNode, ZonedDateTime) - Method in class com.dialoguebranch.execution.ActiveDialogue
-
Executes the agent statement and reply statements in the specified node.
- executeDLBNodeStateless(DLBNode, ZonedDateTime) - Method in class com.dialoguebranch.execution.ActiveDialogue
-
Executes the agent statement and reply statements in the specified node.
- ExecuteNodeResult - Class in com.dialoguebranch.execution
- ExecuteNodeResult(DLBDialogue, DLBNode, DLBLoggedDialogue, int) - Constructor for class com.dialoguebranch.execution.ExecuteNodeResult
- executeReplyCommand(Map<String, Object>) - Method in class com.dialoguebranch.model.command.DLBActionCommand
- expression - Variable in class com.dialoguebranch.model.command.DLBExpressionCommand.ParseContentResult
- EXTERNAL_NODE_POINTER_REGEX - Static variable in class com.dialoguebranch.parser.DLBParser
- EXTERNAL_VARIABLE_SERVICE - Enum constant in enum class com.dialoguebranch.execution.DLBVariableStoreChange.Source
- extractFromBody(String, String, DLBNodeBody) - Method in class com.dialoguebranch.i18n.DLBTranslatableExtractor
- extractFromNode(DLBNode) - Method in class com.dialoguebranch.i18n.DLBTranslatableExtractor
- extractTranslationTermsFromDLBScript(File) - Method in class com.dialoguebranch.i18n.POEditorTools
F
- FEMALE - Enum constant in enum class com.dialoguebranch.i18n.DLBTranslationContext.Gender
- findReplyById(int) - Method in class com.dialoguebranch.model.command.DLBActionCommand
- findReplyById(int) - Method in class com.dialoguebranch.model.command.DLBCommand
-
Tries to find a reply with the specified ID within this command.
- findReplyById(int) - Method in class com.dialoguebranch.model.command.DLBIfCommand
- findReplyById(int) - Method in class com.dialoguebranch.model.command.DLBInputCommand
- findReplyById(int) - Method in class com.dialoguebranch.model.command.DLBRandomCommand
- findReplyById(int) - Method in class com.dialoguebranch.model.command.DLBSetCommand
- findReplyById(int) - Method in class com.dialoguebranch.model.DLBNodeBody.CommandSegment
- findReplyById(int) - Method in class com.dialoguebranch.model.DLBNodeBody
- findReplyById(int) - Method in class com.dialoguebranch.model.DLBNodeBody.Segment
-
Tries to find a reply with the specified ID within this segment.
- findReplyById(int) - Method in class com.dialoguebranch.model.DLBNodeBody.TextSegment
G
- generateDialogueMessage(ExecuteNodeResult) - Static method in class com.dialoguebranch.model.protocol.DialogueMessageFactory
-
Generates a DialogueMessage based on the given executed node.
- generateDLBTranslationFilesFromPOEditorExport(File) - Method in class com.dialoguebranch.i18n.POEditorTools
-
Takes a Key-Value JSON export from POEditor and generates a set of
DLBTranslationFile
objects for each different dialogue found in the JSON file. - getAction() - Method in class com.dialoguebranch.model.protocol.DialogueStatement.ActionSegment
- getActions() - Method in class com.dialoguebranch.model.protocol.ReplyMessage
-
Returns the actions that should be performed when this reply is chosen.
- getActiveDialogue() - Method in class com.dialoguebranch.model.DialogueState
- getAddressee() - Method in class com.dialoguebranch.i18n.DLBSourceTranslatable
- getAgentGenders() - Method in class com.dialoguebranch.i18n.DLBTranslationContext
-
Returns a mapping of agent-names to
DLBTranslationContext.Gender
s, specifying the genders of the agents involved in a dialogue or dialogue set. - getAllowNumbers() - Method in class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
-
Returns whether or not numbers are allowed in this text input command.
- getAllowSpaces() - Method in class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
-
Returns whether or not spaces are allowed in this text input command.
- getAllowSpecialCharacters() - Method in class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
-
Returns whether or not special characters are allowed in this text input command.
- getBasePath() - Method in class com.dialoguebranch.model.DLBProjectMetaData
-
Returns a String representation of the base path of this
DLBProject
. - getBody() - Method in class com.dialoguebranch.model.DLBNode
-
Returns the
DLBNodeBody
of thisDLBNode
. - getCapCharacters() - Method in class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
-
Returns whether or not to hint capitalization on character level.
- getCapSentences() - Method in class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
-
Returns whether or not to hint capitalization on sentence level.
- getCapWords() - Method in class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
-
Returns whether or not to hint capitalization on word level.
- getClauses() - Method in class com.dialoguebranch.model.command.DLBRandomCommand
-
Returns the clauses.
- getCode() - Method in class com.dialoguebranch.model.language.DLBLanguage
-
Returns the code of this
DLBLanguage
. - getColNum() - Method in class com.dialoguebranch.parser.DLBBodyToken
- getCommand() - Method in class com.dialoguebranch.model.DLBNodeBody.CommandSegment
- getCommands() - Method in class com.dialoguebranch.model.DLBReply
-
Returns the commands that should be executed when this reply is chosen.
- getCompleteReferencedDialoguesSet(Set<File>, File) - Method in class com.dialoguebranch.i18n.POEditorTools
- getContentMap() - Method in class com.dialoguebranch.i18n.DLBTranslationFile
- getContext() - Method in class com.dialoguebranch.i18n.DLBContextTranslation
- getContext() - Method in class com.dialoguebranch.i18n.DLBTranslationTerm
- getCurrentNode() - Method in class com.dialoguebranch.execution.ActiveDialogue
- getDefaultAgentGender() - Method in class com.dialoguebranch.i18n.DLBTranslationContext
-
Returns the default
DLBTranslationContext.Gender
that is defined for the agent, if no specific gender is given. - getDescription() - Method in class com.dialoguebranch.model.command.DLBInputCommand
-
Returns the description of this input command.
- getDescription() - Method in class com.dialoguebranch.model.DLBProjectMetaData
-
Returns the description of this
DLBProject
. - getDescription() - Method in class com.dialoguebranch.model.protocol.DialogueStatement.InputSegment
-
Returns the description of this input command.
- getDialogue() - Method in class com.dialoguebranch.execution.ExecuteNodeResult
- getDialogue() - Method in class com.dialoguebranch.model.protocol.DialogueMessage
- getDialogue() - Method in class com.dialoguebranch.parser.DLBParserResult
-
Returns the
DLBDialogue
that is part of thisDLBParserResult
. - getDialogueDefinition() - Method in class com.dialoguebranch.execution.ActiveDialogue
- getDialogueDefinition() - Method in class com.dialoguebranch.model.DialogueState
- getDialogueDescription() - Method in class com.dialoguebranch.execution.ActiveDialogue
- getDialogueDescription() - Method in class com.dialoguebranch.model.DialogueState
- getDialogueId() - Method in class com.dialoguebranch.model.DLBLoggedInteraction
- getDialogueId() - Method in class com.dialoguebranch.model.nodepointer.DLBNodePointerExternal
-
Returns the identifier of the
DLBDialogue
that this pointer refers to. - getDialogueName() - Method in class com.dialoguebranch.execution.ActiveDialogue
-
Returns the name of this
ActiveDialogue
as defined in the associatedDLBDialogue
. - getDialogueName() - Method in class com.dialoguebranch.model.DLBDialogue
-
Returns the name of this
DLBDialogue
. - getDialogueName() - Method in class com.dialoguebranch.model.DLBDialogueDescription
- getDialogueName() - Method in interface com.dialoguebranch.model.DLBLoggedDialogue
- getDialogueName() - Method in class com.dialoguebranch.parser.DLBNodeState
- getDialogues() - Method in class com.dialoguebranch.model.DLBProject
-
Returns all available dialogues in this project.
- getDialoguesReferenced() - Method in class com.dialoguebranch.model.DLBDialogue
-
Returns a
Set
ofString
s containing all the names of dialogues that are referenced by thisDLBDialogue
. - getDialoguesReferencedCount() - Method in class com.dialoguebranch.model.DLBDialogue
-
Returns the total number of different dialogues referenced from this
DLBDialogue
. - getDLBLanguageMap() - Method in class com.dialoguebranch.model.DLBProjectMetaData
-
Returns the
DLBLanguageMap
that contains a description of all languages supported in thisDLBProject
and their mapping from source- to translation languages. - getDLBNode() - Method in class com.dialoguebranch.execution.ExecuteNodeResult
- getDLBUser() - Method in class com.dialoguebranch.execution.DLBVariableStore
-
Returns the
DLBUser
associated with thisDLBVariableStore
. - getDLBVariable(String) - Method in class com.dialoguebranch.execution.DLBVariableStore
-
Retrieves the variable identified by the given
name
, or returnsnull
if no such variable is known in thisDLBVariableStore
. - getDLBVariableNames() - Method in class com.dialoguebranch.execution.DLBVariableStore
-
Returns a set of all the names of
DLBVariable
s contained in thisDLBVariableStore
. - getDLBVariables() - Method in class com.dialoguebranch.execution.DLBVariableStore
-
Returns the contents of this
DLBVariableStore
as an array ofDLBVariable
s. - getDLBVariableStore() - Method in class com.dialoguebranch.execution.ActiveDialogue
-
Returns the
DLBVariableStore
associated with thisActiveDialogue
. - getElseClause() - Method in class com.dialoguebranch.model.command.DLBIfCommand
-
Returns the else clause.
- getExpression() - Method in class com.dialoguebranch.model.command.DLBIfCommand.Clause
-
Returns the if expression that should be evaluated as a boolean.
- getExpression() - Method in class com.dialoguebranch.model.command.DLBSetCommand
- getFileName() - Method in class com.dialoguebranch.i18n.DLBTranslationFile
- getFilePath() - Method in class com.dialoguebranch.parser.DLBFileDescription
-
Returns the file path.
- getForceCapCharacters() - Method in class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
-
Returns whether or not to force capitalization on character level.
- getForceCapSentences() - Method in class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
-
Returns whether or not to force capitalization on sentence level.
- getForceCapWords() - Method in class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
-
Returns whether or not to force capitalization on word level.
- getGranularityMinutes() - Method in class com.dialoguebranch.model.command.DLBInputTimeCommand
- getHeader() - Method in class com.dialoguebranch.model.DLBNode
-
Returns the
DLBNodeHeader
of thisDLBNode
. - getId() - Method in class com.dialoguebranch.execution.DLBUser
- getId() - Method in interface com.dialoguebranch.model.DLBLoggedDialogue
- getIfClauses() - Method in class com.dialoguebranch.model.command.DLBIfCommand
-
Returns the if clauses.
- getInputType() - Method in class com.dialoguebranch.model.protocol.DialogueStatement.InputSegment
-
Returns the input type.
- getInteractionIndex() - Method in class com.dialoguebranch.execution.ExecuteNodeResult
- getInteractionList() - Method in interface com.dialoguebranch.model.DLBLoggedDialogue
- getLanguage() - Method in class com.dialoguebranch.model.DLBDialogueDescription
- getLanguage() - Method in interface com.dialoguebranch.model.DLBLoggedDialogue
- getLanguage() - Method in class com.dialoguebranch.parser.DLBFileDescription
-
Return the language code (for example en_GB).
- getLanguageCode() - Method in exception class com.dialoguebranch.exception.DLBDuplicateLanguageCodeException
-
Return the language code associated with this
DLBDuplicateLanguageCodeException
. - getLanguageCode() - Method in exception class com.dialoguebranch.exception.DLBUnknownLanguageCodeException
-
Return the language code associated with this
DLBUnknownLanguageCodeException
. - getLanguageSetForSourceLanguage(String) - Method in class com.dialoguebranch.model.DLBProjectMetaData
-
Returns the
DLBLanguageSet
in this DialogueBranch project for which the source language code matches the givencode
. - getLanguageSets() - Method in class com.dialoguebranch.model.language.DLBLanguageMap
- getLineNum() - Method in class com.dialoguebranch.parser.DLBBodyToken
- getLineNumberParseException() - Method in exception class com.dialoguebranch.exception.DLBNodeParseException
-
Returns the parse error in the node.
- getLocalTime() - Method in interface com.dialoguebranch.model.DLBLoggedDialogue
- getLoggedDialogue() - Method in class com.dialoguebranch.execution.ExecuteNodeResult
- getLoggedDialogue() - Method in class com.dialoguebranch.model.DialogueState
- getLoggedDialogueId() - Method in class com.dialoguebranch.model.protocol.DialogueMessage
- getLoggedInteractionIndex() - Method in class com.dialoguebranch.model.DialogueState
- getLoggedInteractionIndex() - Method in class com.dialoguebranch.model.protocol.DialogueMessage
- getMax() - Method in class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
-
Returns the maximum number of characters allowed for this text input command, or
null
if no maximum is set. - getMax() - Method in class com.dialoguebranch.model.command.DLBInputNumericCommand
- getMaxTime() - Method in class com.dialoguebranch.model.command.DLBInputTimeCommand
- getMessageSource() - Method in class com.dialoguebranch.model.DLBLoggedInteraction
- getMin() - Method in class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
-
Returns the minimum number of characters allowed for this text input command, or
null
if no minimum is set. - getMin() - Method in class com.dialoguebranch.model.command.DLBInputNumericCommand
- getMinTime() - Method in class com.dialoguebranch.model.command.DLBInputTimeCommand
- getModifiableMap(boolean, ZonedDateTime) - Method in class com.dialoguebranch.execution.DLBVariableStore
-
Returns a modifiable mapping of
String
s toObject
s that is linked to the contents of thisDLBVariableStore
. - getModifiableMap(boolean, ZonedDateTime, DLBVariableStoreChange.Source) - Method in class com.dialoguebranch.execution.DLBVariableStore
- getName() - Method in class com.dialoguebranch.execution.DLBVariable
-
Returns the name of this
DLBVariable
as a String. - getName() - Method in class com.dialoguebranch.model.DLBProjectMetaData
-
Returns the name of this
DLBProject
as a String. - getName() - Method in class com.dialoguebranch.model.language.DLBLanguage
-
Returns the name of this
DLBLanguage
. - getNode() - Method in class com.dialoguebranch.model.protocol.DialogueMessage
- getNodeById(String) - Method in class com.dialoguebranch.model.DLBDialogue
-
Returns the
DLBNode
with the given identifier or title. - getNodeCount() - Method in class com.dialoguebranch.model.DLBDialogue
-
Returns the total number of nodes in this
DLBDialogue
. - getNodeId() - Method in class com.dialoguebranch.model.DLBLoggedInteraction
- getNodeId() - Method in class com.dialoguebranch.model.nodepointer.DLBNodePointer
-
Returns the identifier of the
DLBNode
that this pointer refers to. - getNodePointer() - Method in class com.dialoguebranch.model.DLBReply
-
Returns the next node when this reply is chosen.
- getNodePointers() - Method in class com.dialoguebranch.model.DLBNodeBody
- getNodePointers(Set<DLBNodePointer>) - Method in class com.dialoguebranch.model.command.DLBActionCommand
- getNodePointers(Set<DLBNodePointer>) - Method in class com.dialoguebranch.model.command.DLBCommand
-
Retrieves all node pointers that occur in this command and adds them to the specified list.
- getNodePointers(Set<DLBNodePointer>) - Method in class com.dialoguebranch.model.command.DLBIfCommand
- getNodePointers(Set<DLBNodePointer>) - Method in class com.dialoguebranch.model.command.DLBInputCommand
- getNodePointers(Set<DLBNodePointer>) - Method in class com.dialoguebranch.model.command.DLBRandomCommand
- getNodePointers(Set<DLBNodePointer>) - Method in class com.dialoguebranch.model.command.DLBSetCommand
- getNodePointers(Set<DLBNodePointer>) - Method in class com.dialoguebranch.model.DLBNodeBody
- getNodePointerTokens() - Method in class com.dialoguebranch.parser.DLBNodeState
- getNodes() - Method in class com.dialoguebranch.model.DLBDialogue
-
Returns the nodes as an unmodifiable list.
- getNodeTitle() - Method in exception class com.dialoguebranch.exception.DLBNodeParseException
-
Returns the node title.
- getNodeTitle() - Method in class com.dialoguebranch.parser.DLBNodeState.NodePointerToken
- getOptionalTags() - Method in class com.dialoguebranch.model.DLBNodeHeader
- getOptions() - Method in class com.dialoguebranch.model.command.DLBInputSetCommand
- getParameters() - Method in class com.dialoguebranch.model.command.DLBActionCommand
- getParameters() - Method in class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
- getParameters() - Method in class com.dialoguebranch.model.command.DLBInputCommand
-
Returns the parameters for this input command to send to the client.
- getParameters() - Method in class com.dialoguebranch.model.command.DLBInputEmailCommand
- getParameters() - Method in class com.dialoguebranch.model.command.DLBInputNumericCommand
- getParameters() - Method in class com.dialoguebranch.model.command.DLBInputSetCommand
- getParameters() - Method in class com.dialoguebranch.model.command.DLBInputTimeCommand
- getParameters() - Method in class com.dialoguebranch.model.protocol.DialogueAction
- getParameters() - Method in class com.dialoguebranch.model.protocol.DialogueStatement.InputSegment
-
Returns the parameters.
- getParent() - Method in class com.dialoguebranch.i18n.DLBTranslatable
-
Returns the parent (used in
DLBTranslator
). - getParseErrors() - Method in class com.dialoguebranch.i18n.DLBTranslationParserResult
- getParseErrors() - Method in class com.dialoguebranch.parser.DLBParserResult
-
Returns a
List
ofParseException
s that have occurred during the parsing of the .dlb file. - getParseErrors() - Method in class com.dialoguebranch.parser.DLBProjectParserResult
-
Returns the parse errors.
- getPointer() - Method in class com.dialoguebranch.parser.DLBNodeState.NodePointerToken
- getPreviousIndex() - Method in class com.dialoguebranch.model.DLBLoggedInteraction
- getProject() - Method in class com.dialoguebranch.parser.DLBProjectParserResult
-
Returns the project if parsing succeeded.
- getReadVariableNames() - Method in class com.dialoguebranch.model.DLBNodeBody
-
Retrieves all variable names that are read in this body.
- getReadVariableNames(Set<String>) - Method in class com.dialoguebranch.model.command.DLBActionCommand
- getReadVariableNames(Set<String>) - Method in class com.dialoguebranch.model.command.DLBCommand
-
Retrieves all variable names that are read in this command and adds them to the specified set.
- getReadVariableNames(Set<String>) - Method in class com.dialoguebranch.model.command.DLBIfCommand
- getReadVariableNames(Set<String>) - Method in class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
- getReadVariableNames(Set<String>) - Method in class com.dialoguebranch.model.command.DLBInputEmailCommand
- getReadVariableNames(Set<String>) - Method in class com.dialoguebranch.model.command.DLBInputNumericCommand
- getReadVariableNames(Set<String>) - Method in class com.dialoguebranch.model.command.DLBInputSetCommand
- getReadVariableNames(Set<String>) - Method in class com.dialoguebranch.model.command.DLBInputTimeCommand
- getReadVariableNames(Set<String>) - Method in class com.dialoguebranch.model.command.DLBRandomCommand
- getReadVariableNames(Set<String>) - Method in class com.dialoguebranch.model.command.DLBSetCommand
- getReadVariableNames(Set<String>) - Method in class com.dialoguebranch.model.DLBNodeBody.CommandSegment
- getReadVariableNames(Set<String>) - Method in class com.dialoguebranch.model.DLBNodeBody
-
Retrieves all variable names that are read in this body and adds them to the specified set.
- getReadVariableNames(Set<String>) - Method in class com.dialoguebranch.model.DLBNodeBody.Segment
-
Retrieves all variable names that are read in this segment and adds them to the specified set.
- getReadVariableNames(Set<String>) - Method in class com.dialoguebranch.model.DLBNodeBody.TextSegment
- getReadVariableNames(Set<String>) - Method in class com.dialoguebranch.model.DLBReply
-
Retrieves all variable names that are read in this reply and adds them to the specified set.
- getReadVariableNames(Set<String>) - Method in class com.dialoguebranch.model.DLBVariableString
-
Retrieves all variable names that are read in this variable string and adds them to the specified set.
- getReplies() - Method in class com.dialoguebranch.model.DLBNodeBody
- getReplies() - Method in class com.dialoguebranch.model.protocol.DialogueMessage
- getReplyId() - Method in class com.dialoguebranch.model.DLBLoggedInteraction
- getReplyId() - Method in class com.dialoguebranch.model.DLBReply
-
Returns the reply ID.
- getReplyId() - Method in class com.dialoguebranch.model.protocol.ReplyMessage
-
Returns the reply ID.
- getSegments() - Method in class com.dialoguebranch.i18n.DLBTranslatable
-
Returns the translatable segments.
- getSegments() - Method in class com.dialoguebranch.model.DLBNodeBody
-
Returns the segments as an unmodifiable list.
- getSegments() - Method in class com.dialoguebranch.model.DLBVariableString
-
Returns the segments as an unmodifiable list.
- getSegments() - Method in class com.dialoguebranch.model.protocol.DialogueStatement
- getSegmentType() - Method in class com.dialoguebranch.model.protocol.DialogueStatement.Segment
- getSortedDLBVariableNames() - Method in class com.dialoguebranch.execution.DLBVariableStore
- getSource() - Method in class com.dialoguebranch.execution.DLBVariableStoreChange
-
Returns the
DLBVariableStoreChange.Source
of this change to the DLBVariableStore. - getSourceDialogues() - Method in class com.dialoguebranch.model.DLBProject
-
Returns the source dialogues.
- getSourceLanguage() - Method in class com.dialoguebranch.model.language.DLBLanguageSet
- getSourceName() - Method in class com.dialoguebranch.model.DLBLoggedInteraction
- getSpeaker() - Method in class com.dialoguebranch.i18n.DLBSourceTranslatable
- getSpeaker() - Method in class com.dialoguebranch.model.DLBNodeHeader
- getSpeaker() - Method in class com.dialoguebranch.model.protocol.DialogueMessage
- getSpeaker() - Method in class com.dialoguebranch.parser.DLBNodeState
- getSpeakerColumn() - Method in class com.dialoguebranch.parser.DLBNodeState
- getSpeakerCount() - Method in class com.dialoguebranch.model.DLBDialogue
-
Returns the total number of speakers present in this
DLBDialogue
. - getSpeakerLine() - Method in class com.dialoguebranch.parser.DLBNodeState
- getSpeakers() - Method in class com.dialoguebranch.model.DLBDialogue
- getSpeakersList() - Method in class com.dialoguebranch.model.DLBDialogue
- getStartNode() - Method in class com.dialoguebranch.model.DLBDialogue
-
Returns the starting
DLBNode
for thisDLBDialogue
. - getStartTime() - Method in class com.dialoguebranch.model.command.DLBInputTimeCommand
- getStatement() - Method in class com.dialoguebranch.model.command.DLBIfCommand.Clause
-
Returns the statement that should be output if the expression evaluates to true.
- getStatement() - Method in class com.dialoguebranch.model.command.DLBRandomCommand.Clause
-
Returns the statement that should be output if the expression evaluates to true.
- getStatement() - Method in class com.dialoguebranch.model.DLBLoggedInteraction
- getStatement() - Method in class com.dialoguebranch.model.DLBReply
-
Returns the statement.
- getStatement() - Method in class com.dialoguebranch.model.protocol.DialogueMessage
- getStatement() - Method in class com.dialoguebranch.model.protocol.ReplyMessage
-
Returns the reply statement.
- getStatementLog(DLBVariableStore) - Method in class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
- getStatementLog(DLBVariableStore) - Method in class com.dialoguebranch.model.command.DLBInputCommand
-
Returns the string to use in the user statement log in place of this input command.
- getStatementLog(DLBVariableStore) - Method in class com.dialoguebranch.model.command.DLBInputEmailCommand
- getStatementLog(DLBVariableStore) - Method in class com.dialoguebranch.model.command.DLBInputNumericCommand
- getStatementLog(DLBVariableStore) - Method in class com.dialoguebranch.model.command.DLBInputSetCommand
- getStatementLog(DLBVariableStore) - Method in class com.dialoguebranch.model.command.DLBInputTimeCommand
- getTerm() - Method in class com.dialoguebranch.i18n.DLBTranslationTerm
- getText() - Method in class com.dialoguebranch.model.command.DLBInputSetCommand.Option
- getText() - Method in class com.dialoguebranch.model.DLBNodeBody.TextSegment
- getText() - Method in class com.dialoguebranch.model.DLBVariableString.TextSegment
- getText() - Method in class com.dialoguebranch.model.protocol.DialogueStatement.TextSegment
- getText() - Method in class com.dialoguebranch.parser.DLBBodyToken
- getTime() - Method in class com.dialoguebranch.execution.DLBVariableStoreChange
-
Returns the time that this change took place (in the time zone of the user).
- getTimestamp() - Method in class com.dialoguebranch.model.DLBLoggedInteraction
- getTimezone() - Method in interface com.dialoguebranch.model.DLBLoggedDialogue
- getTimeZone() - Method in class com.dialoguebranch.execution.DLBUser
-
Returns the latest known time zone for this user as one of
TimeZone.getAvailableIDs()
(IANA Codes). - getTitle() - Method in class com.dialoguebranch.model.DLBNode
-
Returns the title of this
DLBNode
as defined in its correspondingDLBNodeHeader
. - getTitle() - Method in class com.dialoguebranch.model.DLBNodeHeader
- getTitle() - Method in class com.dialoguebranch.parser.DLBNodeState
- getToken() - Method in class com.dialoguebranch.parser.DLBNodeState.NodePointerToken
- getTranslatable() - Method in class com.dialoguebranch.i18n.DLBSourceTranslatable
- getTranslatedDialogue(DLBDialogueDescription, DLBTranslationContext) - Method in class com.dialoguebranch.model.DLBProject
-
Returns a translated dialogue for the specified translation context.
- getTranslation() - Method in class com.dialoguebranch.i18n.DLBContextTranslation
- getTranslationLanguages() - Method in class com.dialoguebranch.model.language.DLBLanguageSet
- getTranslations() - Method in class com.dialoguebranch.i18n.DLBTranslationParserResult
- getTranslations() - Method in class com.dialoguebranch.model.DLBProject
-
Returns the translations of all phrases per dialogue.
- getType() - Method in exception class com.dialoguebranch.exception.DLBException
-
Returns the
DLBException.Type
of thisDLBException
. - getType() - Method in class com.dialoguebranch.model.command.DLBActionCommand
-
Returns the type of this
DLBActionCommand
as a String. - getType() - Method in class com.dialoguebranch.model.command.DLBInputCommand
-
Returns the type of input command.
- getType() - Method in class com.dialoguebranch.model.protocol.DialogueAction
- getType() - Method in class com.dialoguebranch.parser.DLBBodyToken
- getUpdatedTime() - Method in class com.dialoguebranch.execution.DLBVariable
-
Returns the timestamp of when this
DLBVariable
was last updated (as epoch time in milliseconds). - getUpdatedTimeZone() - Method in class com.dialoguebranch.execution.DLBVariable
- getUser() - Method in interface com.dialoguebranch.model.DLBLoggedDialogue
- getUserGender() - Method in class com.dialoguebranch.i18n.DLBTranslationContext
-
Returns the set
DLBTranslationContext.Gender
of the user, orDLBTranslationContext.Gender.MALE
if none is specifically set. - getUserStatementFromReplyId(int) - Method in class com.dialoguebranch.execution.ActiveDialogue
-
The user's client returned the given
replyId
- what was the statement that was uttered by the user? - getUtcTime() - Method in interface com.dialoguebranch.model.DLBLoggedDialogue
- getValue() - Method in class com.dialoguebranch.execution.DLBVariable
-
Returns the value of this
DLBVariable
as anObject
. - getValue() - Method in class com.dialoguebranch.model.command.DLBActionCommand
- getValue() - Method in class com.dialoguebranch.model.protocol.DialogueAction
- getValue() - Method in class com.dialoguebranch.model.protocol.NullableResponse
-
Returns the value.
- getValue() - Method in class com.dialoguebranch.parser.DLBBodyToken
- getValue(String) - Method in class com.dialoguebranch.execution.DLBVariableStore
-
Returns the value of the variable identified by the given
name
. - getVariableName() - Method in class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
- getVariableName() - Method in class com.dialoguebranch.model.command.DLBInputEmailCommand
- getVariableName() - Method in class com.dialoguebranch.model.command.DLBInputNumericCommand
- getVariableName() - Method in class com.dialoguebranch.model.command.DLBInputSetCommand.Option
- getVariableName() - Method in class com.dialoguebranch.model.command.DLBInputTimeCommand
- getVariableName() - Method in class com.dialoguebranch.model.DLBVariableString.VariableSegment
- getVariableNames() - Method in class com.dialoguebranch.execution.DLBVariableStoreChange.Remove
-
Returns the collection of variable names that are associated with this
DLBVariableStoreChange.Remove
DLBVariableStoreChange
. - getVariables() - Method in class com.dialoguebranch.execution.DLBVariableStoreChange.Put
-
Returns the mapping of variable name to value (
Object
) representing all the variables that have been added in thisDLBVariableStoreChange
. - getVariablesNeeded() - Method in class com.dialoguebranch.model.DLBDialogue
- getVariablesNeededCount() - Method in class com.dialoguebranch.model.DLBDialogue
-
Returns the total number of different variables needed in executing this
DLBDialogue
. - getVariablesWritten() - Method in class com.dialoguebranch.model.DLBDialogue
- getVariablesWrittenCount() - Method in class com.dialoguebranch.model.DLBDialogue
-
Returns the total number of different variables written in executing this
DLBDialogue
. - getVersion() - Method in class com.dialoguebranch.model.DLBProjectMetaData
-
Returns the version of this
DLBProject
. - getWarnings() - Method in class com.dialoguebranch.i18n.DLBTranslationParserResult
- getWarnings() - Method in class com.dialoguebranch.parser.DLBProjectParserResult
-
Returns the warnings.
- getWeight() - Method in class com.dialoguebranch.model.command.DLBRandomCommand.Clause
-
Returns the weight for this clause.
- getWriteVariableNames() - Method in class com.dialoguebranch.model.DLBNodeBody
-
Retrieves all variable names that are written in this body.
- getWriteVariableNames(Set<String>) - Method in class com.dialoguebranch.model.command.DLBActionCommand
- getWriteVariableNames(Set<String>) - Method in class com.dialoguebranch.model.command.DLBCommand
-
Retrieves all variable names that are written in this command and adds them to the specified set.
- getWriteVariableNames(Set<String>) - Method in class com.dialoguebranch.model.command.DLBIfCommand
- getWriteVariableNames(Set<String>) - Method in class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
- getWriteVariableNames(Set<String>) - Method in class com.dialoguebranch.model.command.DLBInputEmailCommand
- getWriteVariableNames(Set<String>) - Method in class com.dialoguebranch.model.command.DLBInputNumericCommand
- getWriteVariableNames(Set<String>) - Method in class com.dialoguebranch.model.command.DLBInputSetCommand
- getWriteVariableNames(Set<String>) - Method in class com.dialoguebranch.model.command.DLBInputTimeCommand
- getWriteVariableNames(Set<String>) - Method in class com.dialoguebranch.model.command.DLBRandomCommand
- getWriteVariableNames(Set<String>) - Method in class com.dialoguebranch.model.command.DLBSetCommand
- getWriteVariableNames(Set<String>) - Method in class com.dialoguebranch.model.DLBNodeBody.CommandSegment
- getWriteVariableNames(Set<String>) - Method in class com.dialoguebranch.model.DLBNodeBody
-
Retrieves all variable names that are written in this body and adds them to the specified set.
- getWriteVariableNames(Set<String>) - Method in class com.dialoguebranch.model.DLBNodeBody.Segment
-
Retrieves all variable names that are written in this segment and adds them to the specified set.
- getWriteVariableNames(Set<String>) - Method in class com.dialoguebranch.model.DLBNodeBody.TextSegment
- getWriteVariableNames(Set<String>) - Method in class com.dialoguebranch.model.DLBReply
-
Retrieves all variable names that are written in this reply and adds them to the specified set.
- getXMLHandler() - Static method in class com.dialoguebranch.model.DLBProjectMetaData
-
Returns a
SimpleSAXHandler
that is able to parse the contents of an .xml file to aDLBProjectMetaData
object. - getXMLHandler() - Static method in class com.dialoguebranch.model.language.DLBLanguage
- getXMLHandler() - Static method in class com.dialoguebranch.model.language.DLBLanguageMap
- getXMLHandler() - Static method in class com.dialoguebranch.model.language.DLBLanguageSet
- getZonedUpdatedTime() - Method in class com.dialoguebranch.execution.DLBVariable
-
Returns a
ZonedDateTime
object representing the date/time that thisDLBVariable
was last updated in the timezone of the user.
H
- hashCode() - Method in class com.dialoguebranch.i18n.DLBTranslatable
- hashCode() - Method in class com.dialoguebranch.model.DLBDialogueDescription
- hashCode() - Method in class com.dialoguebranch.model.nodepointer.DLBNodePointer
- hashCode() - Method in class com.dialoguebranch.model.nodepointer.DLBNodePointerExternal
- hashCode() - Method in class com.dialoguebranch.parser.DLBFileDescription
I
- INPUT - Enum constant in enum class com.dialoguebranch.model.protocol.DialogueStatement.SegmentType
- INPUT_REPLY - Enum constant in enum class com.dialoguebranch.execution.DLBVariableStoreChange.Source
- InputSegment() - Constructor for class com.dialoguebranch.model.protocol.DialogueStatement.InputSegment
- InputSegmentDeserializer() - Constructor for class com.dialoguebranch.model.protocol.DialogueStatement.InputSegmentDeserializer
- InputSegmentSerializer() - Constructor for class com.dialoguebranch.model.protocol.DialogueStatement.InputSegmentSerializer
- INTERACTION_NOT_FOUND - Enum constant in enum class com.dialoguebranch.exception.DLBException.Type
- isCancelled() - Method in interface com.dialoguebranch.model.DLBLoggedDialogue
- isCompleted() - Method in interface com.dialoguebranch.model.DLBLoggedDialogue
- isEndsDialogue() - Method in class com.dialoguebranch.model.protocol.ReplyMessage
-
Returns whether this reply ends the dialogue.
- isPlainText() - Method in class com.dialoguebranch.model.DLBVariableString
- isWhitespace() - Method in class com.dialoguebranch.model.DLBVariableString
L
- languageExists(String) - Method in class com.dialoguebranch.model.DLBProjectMetaData
-
Checks whether a language with the given
languageCode
exists in thisDLBLanguageMap
. - lineNum - Variable in class com.dialoguebranch.model.command.DLBExpressionCommand.ReadContentResult
- listDialogueBranchFiles() - Method in class com.dialoguebranch.parser.DLBDirectoryFileLoader
- listDialogueBranchFiles() - Method in interface com.dialoguebranch.parser.DLBFileLoader
-
Lists all DialogueBranch files in the project.
- listDialogueBranchFiles() - Method in class com.dialoguebranch.parser.DLBResourceFileLoader
M
- main(String[]) - Static method in class com.dialoguebranch.i18n.POEditorTools
- main(String[]) - Static method in class com.dialoguebranch.parser.DLBParser
- main(String[]) - Static method in class com.dialoguebranch.parser.DLBProjectParser
- MALE - Enum constant in enum class com.dialoguebranch.i18n.DLBTranslationContext.Gender
N
- name - Variable in class com.dialoguebranch.model.command.DLBExpressionCommand.ParseContentResult
- NO_ACTIVE_DIALOGUE - Enum constant in enum class com.dialoguebranch.exception.DLBException.Type
- NODE_NAME_REGEX - Static variable in class com.dialoguebranch.parser.DLBParser
- NODE_NOT_FOUND - Enum constant in enum class com.dialoguebranch.exception.DLBException.Type
- nodeExists(String) - Method in class com.dialoguebranch.model.DLBDialogue
- nodeId - Variable in class com.dialoguebranch.model.nodepointer.DLBNodePointer
- NodePointerToken(String, DLBNodePointer, DLBBodyToken) - Constructor for class com.dialoguebranch.parser.DLBNodeState.NodePointerToken
- NOT_STARTED - Enum constant in enum class com.dialoguebranch.model.DialogueStatus
- NullableResponse<T> - Class in com.dialoguebranch.model.protocol
-
This class is used when a web service wants to return a value or null.
- NullableResponse() - Constructor for class com.dialoguebranch.model.protocol.NullableResponse
-
Constructs a new response with value null.
- NullableResponse(T) - Constructor for class com.dialoguebranch.model.protocol.NullableResponse
-
Constructs a new response with the specified value.
O
- onChange(DLBVariableStore, List<DLBVariableStoreChange>) - Method in interface com.dialoguebranch.execution.DLBVariableStoreOnChangeListener
- openFile(DLBFileDescription) - Method in class com.dialoguebranch.parser.DLBDirectoryFileLoader
- openFile(DLBFileDescription) - Method in interface com.dialoguebranch.parser.DLBFileLoader
-
Opens the specified DialogueBranch file.
- openFile(DLBFileDescription) - Method in class com.dialoguebranch.parser.DLBResourceFileLoader
- Option() - Constructor for class com.dialoguebranch.model.command.DLBInputSetCommand.Option
- Option(DLBInputSetCommand.Option) - Constructor for class com.dialoguebranch.model.command.DLBInputSetCommand.Option
P
- parse() - Method in class com.dialoguebranch.parser.DLBProjectParser
- parse(DLBBodyToken, Map<String, DLBBodyToken>) - Static method in class com.dialoguebranch.model.command.DLBInputEmailCommand
- parse(DLBBodyToken, Map<String, DLBBodyToken>) - Static method in class com.dialoguebranch.model.command.DLBInputLongtextCommand
- parse(DLBBodyToken, Map<String, DLBBodyToken>) - Static method in class com.dialoguebranch.model.command.DLBInputNumericCommand
- parse(DLBBodyToken, Map<String, DLBBodyToken>) - Static method in class com.dialoguebranch.model.command.DLBInputSetCommand
- parse(DLBBodyToken, Map<String, DLBBodyToken>) - Static method in class com.dialoguebranch.model.command.DLBInputTextCommand
- parse(DLBBodyToken, Map<String, DLBBodyToken>) - Static method in class com.dialoguebranch.model.command.DLBInputTimeCommand
- parse(DLBBodyToken, CurrentIterator<DLBBodyToken>, DLBNodeState) - Static method in class com.dialoguebranch.model.command.DLBActionCommand
- parse(DLBBodyToken, CurrentIterator<DLBBodyToken>, DLBNodeState) - Static method in class com.dialoguebranch.model.command.DLBIfCommand
- parse(DLBBodyToken, CurrentIterator<DLBBodyToken>, DLBNodeState) - Static method in class com.dialoguebranch.model.command.DLBInputCommand
- parse(DLBBodyToken, CurrentIterator<DLBBodyToken>, DLBNodeState) - Static method in class com.dialoguebranch.model.command.DLBRandomCommand
- parse(DLBBodyToken, CurrentIterator<DLBBodyToken>, DLBNodeState) - Static method in class com.dialoguebranch.model.command.DLBSetCommand
- parse(File) - Static method in class com.dialoguebranch.i18n.DLBTranslationParser
- parse(InputStream) - Static method in class com.dialoguebranch.i18n.DLBTranslationParser
- parse(Reader) - Static method in class com.dialoguebranch.i18n.DLBTranslationParser
- parse(URL) - Static method in class com.dialoguebranch.i18n.DLBTranslationParser
- parse(List<DLBBodyToken>, List<String>) - Method in class com.dialoguebranch.parser.DLBBodyParser
- parse(CurrentIterator<DLBBodyToken>) - Method in class com.dialoguebranch.parser.DLBReplyParser
- parseAttributes(DLBInputAbstractTextCommand, DLBBodyToken, Map<String, DLBBodyToken>) - Static method in class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
- parseAttributesCommand(DLBBodyToken, CurrentIterator<DLBBodyToken>) - Static method in class com.dialoguebranch.model.command.DLBAttributesCommand
-
Parses a command that is formatted like:
<<command attr1="value1" attr2="value2">> - parseCommandContent(DLBBodyToken, DLBExpressionCommand.ReadContentResult) - Static method in class com.dialoguebranch.model.command.DLBExpressionCommand
-
Parses the specified command content.
- parseCommandContentExpression(DLBBodyToken, DLBExpressionCommand.ReadContentResult, String) - Static method in class com.dialoguebranch.model.command.DLBExpressionCommand
-
Parses the specified command content.
- parseCommandContentName(DLBBodyToken, DLBExpressionCommand.ReadContentResult, String) - Static method in class com.dialoguebranch.model.command.DLBExpressionCommand
-
Parses the specified command content.
- ParseContentResult() - Constructor for class com.dialoguebranch.model.command.DLBExpressionCommand.ParseContentResult
- parseFromName(DLBBodyToken, CurrentIterator<DLBBodyToken>) - Method in class com.dialoguebranch.parser.DLBCommandParser
-
Parses a command from the command name.
- parseFromStart(CurrentIterator<DLBBodyToken>) - Method in class com.dialoguebranch.parser.DLBCommandParser
-
Parses a command from the start token.
- parseUntilCommandClause(CurrentIterator<DLBBodyToken>, List<String>, List<String>) - Method in class com.dialoguebranch.parser.DLBBodyParser
-
Parse the specified tokens until a subclause of a command is found.
- ParseUntilCommandClauseResult() - Constructor for class com.dialoguebranch.parser.DLBBodyParser.ParseUntilCommandClauseResult
- POEditorTools - Class in com.dialoguebranch.i18n
-
POEditorTools is a runnable class that provides a Command-Line-Interface allowing you to conveniently execute different scripts covering different scenarios related to importing from- or exporting to POEditor.
- POEditorTools() - Constructor for class com.dialoguebranch.i18n.POEditorTools
- processReplyAndGetNodePointer(int, ZonedDateTime) - Method in class com.dialoguebranch.execution.ActiveDialogue
-
Retrieves the pointer to the next node based on the provided reply id.
- progressDialogue(DLBNodePointerInternal, ZonedDateTime) - Method in class com.dialoguebranch.execution.ActiveDialogue
-
Takes the next node pointer from the selected reply and determines the next node.
- Put(DLBVariable, ZonedDateTime) - Constructor for class com.dialoguebranch.execution.DLBVariableStoreChange.Put
-
Creates an instance of a
DLBVariableStoreChange.Put
DLBVariableStoreChange
with a single givenDLBVariable
. - Put(DLBVariable, ZonedDateTime, DLBVariableStoreChange.Source) - Constructor for class com.dialoguebranch.execution.DLBVariableStoreChange.Put
-
Creates an instance of a
DLBVariableStoreChange.Put
DLBVariableStoreChange
with a single givenDLBVariable
. - Put(String, Object, ZonedDateTime) - Constructor for class com.dialoguebranch.execution.DLBVariableStoreChange.Put
-
Creates an instance of a
DLBVariableStoreChange.Put
DLBVariableStoreChange
with a givenvariableName
,variableValues
, andlastUpdated
timestamp in the timezone of the DialogueBranch user. - Put(String, Object, ZonedDateTime, DLBVariableStoreChange.Source) - Constructor for class com.dialoguebranch.execution.DLBVariableStoreChange.Put
-
Creates an instance of a
DLBVariableStoreChange.Put
DLBVariableStoreChange
with a givenvariableName
,variableValues
, andlastUpdated
timestamp in the timezone of the DialogueBranch user. - Put(List<DLBVariable>, ZonedDateTime) - Constructor for class com.dialoguebranch.execution.DLBVariableStoreChange.Put
-
Creates an instance of a
DLBVariableStoreChange.Put
DLBVariableStoreChange
with a list of givenDLBVariable
s. - Put(List<DLBVariable>, ZonedDateTime, DLBVariableStoreChange.Source) - Constructor for class com.dialoguebranch.execution.DLBVariableStoreChange.Put
-
Creates an instance of a
DLBVariableStoreChange.Put
DLBVariableStoreChange
with a list of givenDLBVariable
s. - Put(Map<String, DLBVariable>, ZonedDateTime) - Constructor for class com.dialoguebranch.execution.DLBVariableStoreChange.Put
-
Creates an instance of a
DLBVariableStoreChange.Put
DLBVariableStoreChange
with a given map ofDLBVariable
s. - Put(Map<String, DLBVariable>, ZonedDateTime, DLBVariableStoreChange.Source) - Constructor for class com.dialoguebranch.execution.DLBVariableStoreChange.Put
-
Creates an instance of a
DLBVariableStoreChange.Put
DLBVariableStoreChange
with a given map ofDLBVariable
s.
Q
- QUOTED_STRING - Enum constant in enum class com.dialoguebranch.parser.DLBBodyToken.Type
-
Value: DLBVariableString
R
- readAttr(String, Map<String, DLBBodyToken>, DLBBodyToken, boolean) - Static method in class com.dialoguebranch.model.command.DLBAttributesCommand
- readBodyTokens(String, int) - Method in class com.dialoguebranch.parser.DLBBodyTokenizer
-
Reads the body tokens from the specified line.
- readBooleanAttr(String, Map<String, DLBBodyToken>, DLBBodyToken, boolean) - Static method in class com.dialoguebranch.model.command.DLBAttributesCommand
- readCommandContent(DLBBodyToken, CurrentIterator<DLBBodyToken>) - Static method in class com.dialoguebranch.model.command.DLBExpressionCommand
-
Reads the content of a command as a code string.
- readCommandName(CurrentIterator<DLBBodyToken>) - Method in class com.dialoguebranch.parser.DLBCommandParser
-
Reads the command name from the start of a command.
- ReadContentResult() - Constructor for class com.dialoguebranch.model.command.DLBExpressionCommand.ReadContentResult
- readDialogue() - Method in class com.dialoguebranch.parser.DLBParser
-
Tries to read the dialogue file.
- readDialogueFile(File) - Method in class com.dialoguebranch.i18n.POEditorTools
-
Returns a
DLBDialogue
object as read in from a DialogueBranch script identified by the givenfileName
. - readFloatAttr(String, Map<String, DLBBodyToken>, DLBBodyToken, boolean, Float, Float) - Static method in class com.dialoguebranch.model.command.DLBAttributesCommand
- readIntAttr(String, Map<String, DLBBodyToken>, DLBBodyToken, boolean, Integer, Integer) - Static method in class com.dialoguebranch.model.command.DLBAttributesCommand
- readPlainTextAttr(String, Map<String, DLBBodyToken>, DLBBodyToken, boolean) - Static method in class com.dialoguebranch.model.command.DLBAttributesCommand
- readVariableAttr(String, Map<String, DLBBodyToken>, DLBBodyToken, boolean) - Static method in class com.dialoguebranch.model.command.DLBAttributesCommand
- Remove(String, ZonedDateTime) - Constructor for class com.dialoguebranch.execution.DLBVariableStoreChange.Remove
-
Creates an instance of a
DLBVariableStoreChange.Remove
DLBVariableStoreChange
with a given single variable name, representing the variable that was removed with this change. - Remove(String, ZonedDateTime, DLBVariableStoreChange.Source) - Constructor for class com.dialoguebranch.execution.DLBVariableStoreChange.Remove
-
Creates an instance of a
DLBVariableStoreChange.Remove
DLBVariableStoreChange
with a given single variable name, representing the variable that was removed with this change. - Remove(Collection<String>, ZonedDateTime) - Constructor for class com.dialoguebranch.execution.DLBVariableStoreChange.Remove
-
Creates an instance of a
DLBVariableStoreChange.Remove
DLBVariableStoreChange
with a given collection of variableNames. - Remove(Collection<String>, ZonedDateTime, DLBVariableStoreChange.Source) - Constructor for class com.dialoguebranch.execution.DLBVariableStoreChange.Remove
-
Creates an instance of a
DLBVariableStoreChange.Remove
DLBVariableStoreChange
with a given collection of variableNames. - removeByName(String, boolean, ZonedDateTime) - Method in class com.dialoguebranch.execution.DLBVariableStore
- removeByName(String, boolean, ZonedDateTime, DLBVariableStoreChange.Source) - Method in class com.dialoguebranch.execution.DLBVariableStore
- removeLeadingWhitespace() - Method in class com.dialoguebranch.model.DLBNodeBody
- removeLeadingWhitespace() - Method in class com.dialoguebranch.model.DLBVariableString
- removeLeadingWhitespace(List<DLBNodeBody.Segment>) - Static method in class com.dialoguebranch.model.DLBNodeBody
- removeLeadingWhitespace(List<DLBBodyToken>) - Static method in class com.dialoguebranch.parser.DLBBodyToken
- removeOnChangeListener(DLBVariableStoreOnChangeListener) - Method in class com.dialoguebranch.execution.DLBVariableStore
-
Removes the given
DLBVariableStoreOnChangeListener
from the list of listeners for thisDLBVariableStore
. - removeTrailingWhitespace() - Method in class com.dialoguebranch.model.DLBNodeBody
- removeTrailingWhitespace() - Method in class com.dialoguebranch.model.DLBVariableString
- removeTrailingWhitespace(List<DLBNodeBody.Segment>) - Static method in class com.dialoguebranch.model.DLBNodeBody
- removeTrailingWhitespace(List<DLBBodyToken>) - Static method in class com.dialoguebranch.parser.DLBBodyToken
- REPLY_END - Enum constant in enum class com.dialoguebranch.parser.DLBBodyToken.Type
- REPLY_NOT_FOUND - Enum constant in enum class com.dialoguebranch.exception.DLBException.Type
- REPLY_SEPARATOR - Enum constant in enum class com.dialoguebranch.parser.DLBBodyToken.Type
- REPLY_START - Enum constant in enum class com.dialoguebranch.parser.DLBBodyToken.Type
- ReplyMessage - Class in com.dialoguebranch.model.protocol
-
This class is used for dialogue replies that are sent to the client in the web service protocol.
- ReplyMessage() - Constructor for class com.dialoguebranch.model.protocol.ReplyMessage
S
- Segment() - Constructor for class com.dialoguebranch.model.DLBNodeBody.Segment
- Segment() - Constructor for class com.dialoguebranch.model.DLBVariableString.Segment
- Segment(DialogueStatement.SegmentType) - Constructor for class com.dialoguebranch.model.protocol.DialogueStatement.Segment
- SegmentDeserializer() - Constructor for class com.dialoguebranch.model.protocol.DialogueStatement.SegmentDeserializer
- serialize(DialogueStatement.InputSegment, JsonGenerator, SerializerProvider) - Method in class com.dialoguebranch.model.protocol.DialogueStatement.InputSegmentSerializer
- setAction(DialogueAction) - Method in class com.dialoguebranch.model.protocol.DialogueStatement.ActionSegment
- setActions(List<DialogueAction>) - Method in class com.dialoguebranch.model.protocol.ReplyMessage
-
Sets the actions that should be performed when this reply is chosen.
- setAgentGenders(Map<String, DLBTranslationContext.Gender>) - Method in class com.dialoguebranch.i18n.DLBTranslationContext
-
Sets the mapping of agent-names to
DLBTranslationContext.Gender
s, specifying the genders of the agents involved in a dialogue or dialogue set. - setAllowNumbers(Boolean) - Method in class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
-
Sets whether or not numbers are allowed in this text input command.
- setAllowSpaces(Boolean) - Method in class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
-
Sets whether or not spaces are allowed in this text input command.
- setAllowSpecialCharacters(Boolean) - Method in class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
-
Sets whether or not special characters are allowed in this text input command.
- setBasePath(String) - Method in class com.dialoguebranch.model.DLBProjectMetaData
-
Sets the the base path for this DialogueBranch project as a
String
. - setBody(DLBNodeBody) - Method in class com.dialoguebranch.model.DLBNode
-
Sets the
DLBNodeBody
for thisDLBNode
. - setCancelled(boolean) - Method in interface com.dialoguebranch.model.DLBLoggedDialogue
- setCapCharacters(Boolean) - Method in class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
-
Sets whether or not to hint capitalization on character level.
- setCapSentences(Boolean) - Method in class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
-
Sets whether or not to hint capitalization on sentence level.
- setCapWords(Boolean) - Method in class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
-
Sets whether or not to hint capitalization on word level.
- setClauses(List<DLBRandomCommand.Clause>) - Method in class com.dialoguebranch.model.command.DLBRandomCommand
-
Sets the clauses.
- setCode(String) - Method in class com.dialoguebranch.model.language.DLBLanguage
-
Sets the code of this
DLBLanguage
. - setColNum(int) - Method in class com.dialoguebranch.parser.DLBBodyToken
- setCommands(List<DLBCommand>) - Method in class com.dialoguebranch.model.DLBReply
-
Sets the commands that should be executed when this reply is chosen.
- setCompleted(boolean) - Method in interface com.dialoguebranch.model.DLBLoggedDialogue
- setContext() - Method in class com.dialoguebranch.i18n.DLBTranslationTerm
- setCurrentNode(DLBNode) - Method in class com.dialoguebranch.execution.ActiveDialogue
- setDefaultAgentGender(DLBTranslationContext.Gender) - Method in class com.dialoguebranch.i18n.DLBTranslationContext
-
Sets the
DLBTranslationContext.Gender
that is assumed for agents if no specific gender is given inDLBTranslationContext.getAgentGenders()
. - setDescription(String) - Method in class com.dialoguebranch.model.command.DLBInputCommand
-
Sets the description of this input command.
- setDescription(String) - Method in class com.dialoguebranch.model.DLBProjectMetaData
-
Sets the description text for this DialogueBranch project.
- setDescription(String) - Method in class com.dialoguebranch.model.protocol.DialogueStatement.InputSegment
-
Sets the description of this input command.
- setDialogue(DLBDialogue) - Method in class com.dialoguebranch.parser.DLBParserResult
-
Sets the
DLBDialogue
that is part of thisDLBParserResult
. - setDialogue(String) - Method in class com.dialoguebranch.model.protocol.DialogueMessage
- setDialogueId(String) - Method in class com.dialoguebranch.model.DLBLoggedInteraction
- setDialogueName(String) - Method in class com.dialoguebranch.model.DLBDialogue
-
Sets the name of this
DLBDialogue
. - setDialogueName(String) - Method in class com.dialoguebranch.model.DLBDialogueDescription
- setDialogueName(String) - Method in interface com.dialoguebranch.model.DLBLoggedDialogue
- setDialogues(Map<DLBDialogueDescription, DLBDialogue>) - Method in class com.dialoguebranch.model.DLBProject
-
Sets all available dialogues in this project.
- setDLBLanguageMap(DLBLanguageMap) - Method in class com.dialoguebranch.model.DLBProjectMetaData
-
Sets the
DLBLanguageMap
for this DialogueBranch project, containing a mapping of all supported source- and translation languages. - setDLBUser(DLBUser) - Method in class com.dialoguebranch.execution.DLBVariableStore
-
Sets the
DLBUser
for thisDLBVariableStore
. - setDLBVariableStore(DLBVariableStore) - Method in class com.dialoguebranch.execution.ActiveDialogue
-
Sets the
DLBVariableStore
used to store/retrieve parameters for thisActiveDialogue
. - setElseClause(DLBNodeBody) - Method in class com.dialoguebranch.model.command.DLBIfCommand
-
Sets the else clause.
- setEndsDialogue(boolean) - Method in class com.dialoguebranch.model.protocol.ReplyMessage
-
Sets whether this reply ends the dialogue.
- setExpression(Expression) - Method in class com.dialoguebranch.model.command.DLBIfCommand.Clause
-
Sets the if expression that should be evaluated as a boolean.
- setExpression(AssignExpression) - Method in class com.dialoguebranch.model.command.DLBSetCommand
- setFilePath(String) - Method in class com.dialoguebranch.parser.DLBFileDescription
-
Sets the file path.
- setForceCapCharacters(Boolean) - Method in class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
-
Sets whether or not to force capitalization on character level.
- setForceCapSentences(Boolean) - Method in class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
-
Sets whether or not to force capitalization on sentence level.
- setForceCapWords(Boolean) - Method in class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
-
Sets whether or not to force capitalization on word level.
- setGranularityMinutes(int) - Method in class com.dialoguebranch.model.command.DLBInputTimeCommand
- setHeader(DLBNodeHeader) - Method in class com.dialoguebranch.model.DLBNode
-
Sets the
DLBNodeHeader
for thisDLBNode
. - setId(String) - Method in class com.dialoguebranch.execution.DLBUser
- setId(String) - Method in interface com.dialoguebranch.model.DLBLoggedDialogue
- setIfClauses(List<DLBIfCommand.Clause>) - Method in class com.dialoguebranch.model.command.DLBIfCommand
-
Sets the if clauses.
- setInputType(String) - Method in class com.dialoguebranch.model.protocol.DialogueStatement.InputSegment
-
Sets the input type.
- setInteractionList(List<DLBLoggedInteraction>) - Method in interface com.dialoguebranch.model.DLBLoggedDialogue
- setLanguage(String) - Method in class com.dialoguebranch.model.DLBDialogueDescription
- setLanguage(String) - Method in interface com.dialoguebranch.model.DLBLoggedDialogue
- setLanguage(String) - Method in class com.dialoguebranch.parser.DLBFileDescription
-
Sets the language code (for example en_GB).
- setLanguageSets(List<DLBLanguageSet>) - Method in class com.dialoguebranch.model.language.DLBLanguageMap
- setLineNum(int) - Method in class com.dialoguebranch.parser.DLBBodyToken
- setLocalTime(String) - Method in interface com.dialoguebranch.model.DLBLoggedDialogue
- setLoggedDialogueId(String) - Method in class com.dialoguebranch.model.protocol.DialogueMessage
- setLoggedInteractionIndex(int) - Method in class com.dialoguebranch.model.protocol.DialogueMessage
- setMax(Integer) - Method in class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
-
Sets the maximum number of characters allowed for this text input command, or
null
if no maximum should be set. - setMax(Integer) - Method in class com.dialoguebranch.model.command.DLBInputNumericCommand
- setMaxTime(DLBVariableString) - Method in class com.dialoguebranch.model.command.DLBInputTimeCommand
- setMessageSource(DLBMessageSource) - Method in class com.dialoguebranch.model.DLBLoggedInteraction
- setMin(Integer) - Method in class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
-
Sets the minimum number of characters needed for this text input command, or
null
if no minimum should be set. - setMin(Integer) - Method in class com.dialoguebranch.model.command.DLBInputNumericCommand
- setMinTime(DLBVariableString) - Method in class com.dialoguebranch.model.command.DLBInputTimeCommand
- setName(String) - Method in class com.dialoguebranch.model.DLBProjectMetaData
-
Sets the name of this DialogueBranch project.
- setName(String) - Method in class com.dialoguebranch.model.language.DLBLanguage
-
Sets the name of this
DLBLanguage
. - setNode(String) - Method in class com.dialoguebranch.model.protocol.DialogueMessage
- setNodeId(String) - Method in class com.dialoguebranch.model.DLBLoggedInteraction
- setNodeId(String) - Method in class com.dialoguebranch.model.nodepointer.DLBNodePointer
-
Sets the identifier of the
DLBNode
that this pointer refers to. - setNodePointer(DLBNodePointer) - Method in class com.dialoguebranch.model.DLBReply
-
Sets the next node when this reply is chosen.
- setOptionalTags(Map<String, String>) - Method in class com.dialoguebranch.model.DLBNodeHeader
- setOptions(List<DLBInputSetCommand.Option>) - Method in class com.dialoguebranch.model.command.DLBInputSetCommand
- setParameters(Map<String, ?>) - Method in class com.dialoguebranch.model.protocol.DialogueStatement.InputSegment
-
Sets the parameters.
- setParameters(Map<String, DLBVariableString>) - Method in class com.dialoguebranch.model.command.DLBActionCommand
- setParameters(Map<String, String>) - Method in class com.dialoguebranch.model.protocol.DialogueAction
- setParseErrors(List<ParseException>) - Method in class com.dialoguebranch.i18n.DLBTranslationParserResult
- setParseErrors(Map<String, List<ParseException>>) - Method in class com.dialoguebranch.parser.DLBProjectParserResult
-
Sets the parse errors.
- setPreviousIndex(int) - Method in class com.dialoguebranch.model.DLBLoggedInteraction
- setProject(DLBProject) - Method in class com.dialoguebranch.parser.DLBProjectParserResult
-
Sets the project if parsing succeeded.
- setReplies(List<ReplyMessage>) - Method in class com.dialoguebranch.model.protocol.DialogueMessage
- setReplyId(int) - Method in class com.dialoguebranch.model.DLBLoggedInteraction
- setReplyId(int) - Method in class com.dialoguebranch.model.DLBReply
-
Sets the reply ID.
- setReplyId(int) - Method in class com.dialoguebranch.model.protocol.ReplyMessage
-
Sets the reply ID.
- setSegments(List<DialogueStatement.Segment>) - Method in class com.dialoguebranch.model.protocol.DialogueStatement
- setSourceDialogues(Map<DLBDialogueDescription, DLBDialogue>) - Method in class com.dialoguebranch.model.DLBProject
-
Sets the source dialogues.
- setSourceLanguage(DLBLanguage) - Method in class com.dialoguebranch.model.language.DLBLanguageSet
- setSourceLanguage(String, String, DLBLanguageSet) - Method in class com.dialoguebranch.model.DLBProjectMetaData
-
Attempts to set a new language with the given
name
andcode
to the givenDLBLanguageSet
as the source language in this DialogueBranch project. - setSourceName(String) - Method in class com.dialoguebranch.model.DLBLoggedInteraction
- setSpeaker(String) - Method in class com.dialoguebranch.model.DLBNodeHeader
- setSpeaker(String) - Method in class com.dialoguebranch.model.protocol.DialogueMessage
- setSpeaker(String) - Method in class com.dialoguebranch.parser.DLBNodeState
- setSpeakerColumn(int) - Method in class com.dialoguebranch.parser.DLBNodeState
- setSpeakerLine(int) - Method in class com.dialoguebranch.parser.DLBNodeState
- setStartTime(DLBVariableString) - Method in class com.dialoguebranch.model.command.DLBInputTimeCommand
- setStatement(DLBNodeBody) - Method in class com.dialoguebranch.model.command.DLBIfCommand.Clause
-
Sets the statement that should be output if the expression evaluates to true.
- setStatement(DLBNodeBody) - Method in class com.dialoguebranch.model.command.DLBRandomCommand.Clause
-
Sets the statement that should be output if the expression evaluates to true.
- setStatement(DLBNodeBody) - Method in class com.dialoguebranch.model.DLBReply
-
Sets the statement.
- setStatement(DialogueStatement) - Method in class com.dialoguebranch.model.protocol.DialogueMessage
- setStatement(DialogueStatement) - Method in class com.dialoguebranch.model.protocol.ReplyMessage
-
Sets the reply statement.
- setStatement(String) - Method in class com.dialoguebranch.model.DLBLoggedInteraction
- setTerm(String) - Method in class com.dialoguebranch.i18n.DLBTranslationTerm
- setText(DLBVariableString) - Method in class com.dialoguebranch.model.command.DLBInputSetCommand.Option
- setText(DLBVariableString) - Method in class com.dialoguebranch.model.DLBNodeBody.TextSegment
- setText(String) - Method in class com.dialoguebranch.model.DLBVariableString.TextSegment
- setText(String) - Method in class com.dialoguebranch.model.protocol.DialogueStatement.TextSegment
- setText(String) - Method in class com.dialoguebranch.parser.DLBBodyToken
- setTimestamp(long) - Method in class com.dialoguebranch.model.DLBLoggedInteraction
- setTimezone(String) - Method in interface com.dialoguebranch.model.DLBLoggedDialogue
- setTimeZone(ZoneId) - Method in class com.dialoguebranch.execution.DLBUser
-
Sets the latest known time zone for this user as one of
TimeZone.getAvailableIDs()
(IANA Codes). - setTitle(String) - Method in class com.dialoguebranch.model.DLBNodeHeader
- setTitle(String) - Method in class com.dialoguebranch.parser.DLBNodeState
- setTranslationLanguages(List<DLBLanguage>) - Method in class com.dialoguebranch.model.language.DLBLanguageSet
- setTranslations(Map<DLBTranslatable, List<DLBContextTranslation>>) - Method in class com.dialoguebranch.i18n.DLBTranslationParserResult
- setTranslations(Map<DLBDialogueDescription, Map<DLBTranslatable, List<DLBContextTranslation>>>) - Method in class com.dialoguebranch.model.DLBProject
-
Sets the translations of all phrases per dialogue.
- setType(DLBBodyToken.Type) - Method in class com.dialoguebranch.parser.DLBBodyToken
- setType(String) - Method in class com.dialoguebranch.model.command.DLBActionCommand
-
Sets the type of this
DLBActionCommand
, which should be one of "image", "video", or "generic". - setType(String) - Method in class com.dialoguebranch.model.command.DLBInputCommand
-
Sets the type of input command.
- setType(String) - Method in class com.dialoguebranch.model.protocol.DialogueAction
- setUser(String) - Method in interface com.dialoguebranch.model.DLBLoggedDialogue
- setUserGender(DLBTranslationContext.Gender) - Method in class com.dialoguebranch.i18n.DLBTranslationContext
-
Sets the
DLBTranslationContext.Gender
of the user. - setUtcTime(long) - Method in interface com.dialoguebranch.model.DLBLoggedDialogue
- setValue(DLBVariableString) - Method in class com.dialoguebranch.model.command.DLBActionCommand
- setValue(Object) - Method in class com.dialoguebranch.parser.DLBBodyToken
- setValue(String) - Method in class com.dialoguebranch.model.protocol.DialogueAction
- setValue(String, Object, boolean, ZonedDateTime) - Method in class com.dialoguebranch.execution.DLBVariableStore
-
Stores the given
value
under the given variable-name
in thisDLBVariableStore
and sets the updatedTime toupdatedTime
. - setValue(String, Object, boolean, ZonedDateTime, DLBVariableStoreChange.Source) - Method in class com.dialoguebranch.execution.DLBVariableStore
-
Stores the given
value
under the given variable-name
in thisDLBVariableStore
and sets the updatedTime toupdatedTime
. - setValue(T) - Method in class com.dialoguebranch.model.protocol.NullableResponse
-
Sets the value.
- setVariableName(String) - Method in class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
- setVariableName(String) - Method in class com.dialoguebranch.model.command.DLBInputEmailCommand
- setVariableName(String) - Method in class com.dialoguebranch.model.command.DLBInputNumericCommand
- setVariableName(String) - Method in class com.dialoguebranch.model.command.DLBInputSetCommand.Option
- setVariableName(String) - Method in class com.dialoguebranch.model.command.DLBInputTimeCommand
- setVariableName(String) - Method in class com.dialoguebranch.model.DLBVariableString.VariableSegment
- setVersion(String) - Method in class com.dialoguebranch.model.DLBProjectMetaData
-
Sets the version string for this DialogueBranch project.
- setWarnings(List<String>) - Method in class com.dialoguebranch.i18n.DLBTranslationParserResult
- setWarnings(Map<String, List<String>>) - Method in class com.dialoguebranch.parser.DLBProjectParserResult
-
Sets the warnings.
- setWeight(float) - Method in class com.dialoguebranch.model.command.DLBRandomCommand.Clause
-
Sets the weight for this clause.
- skipWhitespace(String, int) - Static method in class com.dialoguebranch.parser.DLBParser
-
Reads whitespace characters from the specified index and returns the number of characters read.
- skipWhitespace(CurrentIterator<DLBBodyToken>) - Static method in class com.dialoguebranch.parser.DLBBodyToken
-
Moves to the next token that is not a text token with only whitespace.
- startDialogue(String, ZonedDateTime) - Method in class com.dialoguebranch.execution.ActiveDialogue
-
"Starts" this
ActiveDialogue
at theDLBNode
represented by the providednodeId
, or at the "Start" node of the dialogue if the givennodeId
isnull
, returning that node and updating the dialogue's internal state. - startDialogue(ZonedDateTime) - Method in class com.dialoguebranch.execution.ActiveDialogue
-
"Starts" this
ActiveDialogue
, returning the start node and updating its internal state. - STARTED - Enum constant in enum class com.dialoguebranch.model.DialogueStatus
- storeReplyInput(Map<String, ?>, ZonedDateTime) - Method in class com.dialoguebranch.execution.ActiveDialogue
-
Stores the specified variables in the variable store.
T
- term - Variable in class com.dialoguebranch.i18n.DLBTranslationTerm
- TEXT - Enum constant in enum class com.dialoguebranch.model.protocol.DialogueStatement.SegmentType
- TEXT - Enum constant in enum class com.dialoguebranch.parser.DLBBodyToken.Type
-
Value: text with escaped characters resolved
- TextSegment() - Constructor for class com.dialoguebranch.model.protocol.DialogueStatement.TextSegment
- TextSegment(DLBNodeBody.TextSegment) - Constructor for class com.dialoguebranch.model.DLBNodeBody.TextSegment
- TextSegment(DLBVariableString) - Constructor for class com.dialoguebranch.model.DLBNodeBody.TextSegment
- TextSegment(DLBVariableString.TextSegment) - Constructor for class com.dialoguebranch.model.DLBVariableString.TextSegment
- TextSegment(String) - Constructor for class com.dialoguebranch.model.DLBVariableString.TextSegment
- TIME_NOW - Static variable in class com.dialoguebranch.model.command.DLBInputTimeCommand
- toExportFriendlyString() - Method in class com.dialoguebranch.i18n.DLBTranslatable
- toString() - Method in class com.dialoguebranch.execution.DLBVariable
- toString() - Method in class com.dialoguebranch.i18n.DLBTranslatable
- toString() - Method in class com.dialoguebranch.i18n.DLBTranslationTerm
- toString() - Method in class com.dialoguebranch.model.command.DLBActionCommand
- toString() - Method in class com.dialoguebranch.model.command.DLBIfCommand
- toString() - Method in class com.dialoguebranch.model.command.DLBInputAbstractTextCommand
- toString() - Method in class com.dialoguebranch.model.command.DLBInputEmailCommand
- toString() - Method in class com.dialoguebranch.model.command.DLBInputNumericCommand
- toString() - Method in class com.dialoguebranch.model.command.DLBInputSetCommand
- toString() - Method in class com.dialoguebranch.model.command.DLBInputTimeCommand
- toString() - Method in class com.dialoguebranch.model.command.DLBRandomCommand
- toString() - Method in class com.dialoguebranch.model.command.DLBSetCommand
- toString() - Method in class com.dialoguebranch.model.DLBDialogue
-
Returns a human readable multi-line summary string, representing the contents of this
DLBDialogue
. - toString() - Method in class com.dialoguebranch.model.DLBDialogueDescription
- toString() - Method in class com.dialoguebranch.model.DLBNode
- toString() - Method in class com.dialoguebranch.model.DLBNodeBody.CommandSegment
- toString() - Method in class com.dialoguebranch.model.DLBNodeBody.TextSegment
- toString() - Method in class com.dialoguebranch.model.DLBNodeBody
- toString() - Method in class com.dialoguebranch.model.DLBNodeHeader
- toString() - Method in class com.dialoguebranch.model.DLBProjectMetaData
- toString() - Method in class com.dialoguebranch.model.DLBReply
- toString() - Method in class com.dialoguebranch.model.DLBVariableString.TextSegment
- toString() - Method in class com.dialoguebranch.model.DLBVariableString
- toString() - Method in class com.dialoguebranch.model.DLBVariableString.VariableSegment
- toString() - Method in class com.dialoguebranch.model.language.DLBLanguage
- toString() - Method in class com.dialoguebranch.model.language.DLBLanguageMap
- toString() - Method in class com.dialoguebranch.model.language.DLBLanguageSet
- toString() - Method in class com.dialoguebranch.model.nodepointer.DLBNodePointerExternal
- toString() - Method in class com.dialoguebranch.model.nodepointer.DLBNodePointerInternal
- toString() - Method in class com.dialoguebranch.parser.DLBBodyToken
- toString() - Method in class com.dialoguebranch.parser.DLBFileDescription
- toString(char[]) - Method in class com.dialoguebranch.model.DLBVariableString.TextSegment
-
Returns the code string for this instance.
- toString(char[]) - Method in class com.dialoguebranch.model.DLBVariableString
-
Returns the code string for this instance.
- toStringStart() - Method in class com.dialoguebranch.model.command.DLBInputCommand
- translate(DLBDialogue) - Method in class com.dialoguebranch.i18n.DLBTranslator
-
Translates the specified dialogue.
- translate(DLBNode) - Method in class com.dialoguebranch.i18n.DLBTranslator
-
Translates the specified node.
- trimWhitespace() - Method in class com.dialoguebranch.model.DLBNodeBody
- trimWhitespace() - Method in class com.dialoguebranch.model.DLBVariableString
- trimWhitespace(List<DLBNodeBody.Segment>) - Static method in class com.dialoguebranch.model.DLBNodeBody
- trimWhitespace(List<DLBBodyToken>) - Static method in class com.dialoguebranch.parser.DLBBodyToken
- TYPE_EMAIL - Static variable in class com.dialoguebranch.model.command.DLBInputCommand
- TYPE_GENERIC - Static variable in class com.dialoguebranch.model.command.DLBActionCommand
- TYPE_IMAGE - Static variable in class com.dialoguebranch.model.command.DLBActionCommand
- TYPE_LINK - Static variable in class com.dialoguebranch.model.command.DLBActionCommand
- TYPE_LONGTEXT - Static variable in class com.dialoguebranch.model.command.DLBInputCommand
- TYPE_NUMERIC - Static variable in class com.dialoguebranch.model.command.DLBInputCommand
- TYPE_SET - Static variable in class com.dialoguebranch.model.command.DLBInputCommand
- TYPE_TEXT - Static variable in class com.dialoguebranch.model.command.DLBInputCommand
- TYPE_TIME - Static variable in class com.dialoguebranch.model.command.DLBInputCommand
- TYPE_VIDEO - Static variable in class com.dialoguebranch.model.command.DLBActionCommand
U
- UNKNOWN - Enum constant in enum class com.dialoguebranch.execution.DLBVariableStoreChange.Source
- USER - Enum constant in enum class com.dialoguebranch.model.DLBMessageSource
- USER - Static variable in class com.dialoguebranch.i18n.DLBSourceTranslatable
V
- valueOf(String) - Static method in enum class com.dialoguebranch.exception.DLBException.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dialoguebranch.execution.DLBVariableStoreChange.Source
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dialoguebranch.i18n.DLBTranslationContext.Gender
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dialoguebranch.model.DialogueStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dialoguebranch.model.DLBMessageSource
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dialoguebranch.model.protocol.DialogueStatement.SegmentType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dialoguebranch.parser.DLBBodyToken.Type
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.dialoguebranch.exception.DLBException.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dialoguebranch.execution.DLBVariableStoreChange.Source
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dialoguebranch.i18n.DLBTranslationContext.Gender
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dialoguebranch.model.DialogueStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dialoguebranch.model.DLBMessageSource
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dialoguebranch.model.protocol.DialogueStatement.SegmentType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dialoguebranch.parser.DLBBodyToken.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VARIABLE - Enum constant in enum class com.dialoguebranch.parser.DLBBodyToken.Type
-
Value: variable name
- VariableSegment(DLBVariableString.VariableSegment) - Constructor for class com.dialoguebranch.model.DLBVariableString.VariableSegment
- VariableSegment(String) - Constructor for class com.dialoguebranch.model.DLBVariableString.VariableSegment
W
- WEB_SERVICE - Enum constant in enum class com.dialoguebranch.execution.DLBVariableStoreChange.Source
- writeDLBTranslationTermsToJSON(List<DLBTranslationTerm>, File) - Method in class com.dialoguebranch.i18n.POEditorTools
- writeToFile(File) - Method in class com.dialoguebranch.i18n.DLBTranslationFile
-
Writes this
DLBTranslationFile
to a file, specified byDLBTranslationFile.getFileName()
in the givendirectory
. - writeXML(XMLWriter) - Method in class com.dialoguebranch.model.DLBProjectMetaData
-
Writes this
DLBProjectMetaData
to file using the givenXMLWriter
. - writeXML(XMLWriter) - Method in class com.dialoguebranch.model.language.DLBLanguageMap
- writeXML(XMLWriter) - Method in class com.dialoguebranch.model.language.DLBLanguageSet
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form