-
- 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 Stringcomponent1()final Stringcomponent2()final IntentWithoutNamespacecomponent3()final List<AnswerConfiguration>component4()final AnswerConfigurationTypecomponent5()final StoryDefinitionConfigurationMandatoryEntitycopy(String role, String entityType, IntentWithoutNamespace intent, List<AnswerConfiguration> answers, AnswerConfigurationType currentType)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.StoryDefinitionConfigurationMandatoryEntity
findAnswer, findCurrentAnswer, findNextSteps, hasCurrentAnswer, storyDefinition -
Methods inherited from class ai.tock.bot.admin.story.StoryDefinitionAnswersContainer
equals, hashCode, toString -
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
-
component1
final String component1()
-
component2
final String component2()
-
component3
final IntentWithoutNamespace component3()
-
component4
final List<AnswerConfiguration> component4()
-
component5
final AnswerConfigurationType component5()
-
copy
final StoryDefinitionConfigurationMandatoryEntity copy(String role, String entityType, IntentWithoutNamespace intent, List<AnswerConfiguration> answers, AnswerConfigurationType currentType)
-
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.
-
-
-
-