Package ai.tock.bot.admin.story.dump
Class StoryDefinitionConfigurationStepDump
-
- All Implemented Interfaces:
public final class StoryDefinitionConfigurationStepDump
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final IntentWithoutNamespaceintentprivate final IntentWithoutNamespacetargetIntentprivate final List<AnswerConfigurationDump>answersprivate final AnswerConfigurationTypecurrentTypeprivate final I18nLabelValueuserSentenceLabelprivate final List<StoryDefinitionConfigurationStepDump>childrenprivate final Integerlevelprivate final EntityStepSelectionentity
-
Constructor Summary
Constructors Constructor Description StoryDefinitionConfigurationStepDump(StoryDefinitionConfigurationStep def, String namespace, String category)StoryDefinitionConfigurationStepDump(String name, IntentWithoutNamespace intent, IntentWithoutNamespace targetIntent, List<AnswerConfigurationDump> answers, AnswerConfigurationType currentType, I18nLabelValue userSentenceLabel, List<StoryDefinitionConfigurationStepDump> children, Integer level, EntityStepSelection entity)
-
Method Summary
Modifier and Type Method Description final StringgetName()The name of the step. final IntentWithoutNamespacegetIntent()The intent used to reach the step - mandatory if an answer is set, or if there is a targetIntent. final IntentWithoutNamespacegetTargetIntent()The optional intent to switch to when the step is reached. final List<AnswerConfigurationDump>getAnswers()The answers available. final AnswerConfigurationTypegetCurrentType()The type of answer configuration. final I18nLabelValuegetUserSentenceLabel()The user sentence sample. final List<StoryDefinitionConfigurationStepDump>getChildren()The children of the steps final IntegergetLevel()The level of the step. final EntityStepSelectiongetEntity()Entity selection. final StoryDefinitionConfigurationSteptoStep(StoryDefinitionConfigurationDumpController controller)-
-
Constructor Detail
-
StoryDefinitionConfigurationStepDump
StoryDefinitionConfigurationStepDump(StoryDefinitionConfigurationStep def, String namespace, String category)
-
StoryDefinitionConfigurationStepDump
StoryDefinitionConfigurationStepDump(String name, IntentWithoutNamespace intent, IntentWithoutNamespace targetIntent, List<AnswerConfigurationDump> answers, AnswerConfigurationType currentType, I18nLabelValue userSentenceLabel, List<StoryDefinitionConfigurationStepDump> children, Integer level, EntityStepSelection entity)
-
-
Method Detail
-
getIntent
final IntentWithoutNamespace getIntent()
The intent used to reach the step - mandatory if an answer is set, or if there is a targetIntent.
-
getTargetIntent
final IntentWithoutNamespace getTargetIntent()
The optional intent to switch to when the step is reached.
-
getAnswers
final List<AnswerConfigurationDump> getAnswers()
The answers available.
-
getCurrentType
final AnswerConfigurationType getCurrentType()
The type of answer configuration.
-
getUserSentenceLabel
final I18nLabelValue getUserSentenceLabel()
The user sentence sample.
-
getChildren
final List<StoryDefinitionConfigurationStepDump> getChildren()
The children of the steps
-
getEntity
final EntityStepSelection getEntity()
Entity selection.
-
toStep
final StoryDefinitionConfigurationStep toStep(StoryDefinitionConfigurationDumpController controller)
-
-
-
-