Package ai.tock.bot.admin.story
Class StoryDefinitionConfigurationMandatoryEntity
-
- All Implemented Interfaces:
-
ai.tock.bot.admin.story.StoryDefinitionAnswersContainer
public final class StoryDefinitionConfigurationMandatoryEntity implements StoryDefinitionAnswersContainerA required entity in a StoryDefinitionConfiguration.
-
-
Field Summary
Fields Modifier and Type Field Description private final transient StringentityTypeNameprivate final Stringroleprivate final StringentityTypeprivate final IntentWithoutNamespaceintentprivate final List<AnswerConfiguration>answersprivate final AnswerConfigurationTypecurrentType
-
Constructor Summary
Constructors Constructor Description StoryDefinitionConfigurationMandatoryEntity(String role, String entityType, IntentWithoutNamespace intent, List<AnswerConfiguration> answers, AnswerConfigurationType currentType)
-
Method Summary
Modifier and Type Method Description final StringgetEntityTypeName()final StringgetRole()The role of the mandatory entity. final StringgetEntityType()The type of mandatory entity. final IntentWithoutNamespacegetIntent()The intent used to find the entities. List<AnswerConfiguration>getAnswers()The answers available. AnswerConfigurationTypegetCurrentType()The type of answer configuration. -
Methods inherited from class ai.tock.bot.admin.story.StoryDefinitionAnswersContainer
findAnswer, findCurrentAnswer, findNextSteps, hasCurrentAnswer, storyDefinition -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
StoryDefinitionConfigurationMandatoryEntity
StoryDefinitionConfigurationMandatoryEntity(String role, String entityType, IntentWithoutNamespace intent, List<AnswerConfiguration> answers, AnswerConfigurationType currentType)
-
-
Method Detail
-
getEntityTypeName
final String getEntityTypeName()
-
getEntityType
final String getEntityType()
The type of mandatory entity.
-
getIntent
final IntentWithoutNamespace getIntent()
The intent used to find the entities.
-
getAnswers
List<AnswerConfiguration> getAnswers()
The answers available.
-
getCurrentType
AnswerConfigurationType getCurrentType()
The type of answer configuration.
-
-
-
-