-
- All Implemented Interfaces:
public final class BotStoryDefinitionConfigurationStep
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final IntentWithoutNamespaceintentprivate final IntentWithoutNamespacetargetIntentprivate final List<BotAnswerConfiguration>answersprivate final AnswerConfigurationTypecurrentTypeprivate final Stringcategoryprivate final I18nLabeluserSentenceprivate final List<BotStoryDefinitionConfigurationStep>childrenprivate final Integerlevelprivate final EntityStepSelectionentityprivate final IntentDefinitionintentDefinitionprivate final IntentDefinitiontargetIntentDefinition
-
Constructor Summary
Constructors Constructor Description BotStoryDefinitionConfigurationStep(StoryDefinitionConfiguration story, StoryDefinitionConfigurationStep e, Boolean readOnly)BotStoryDefinitionConfigurationStep(String name, IntentWithoutNamespace intent, IntentWithoutNamespace targetIntent, List<BotAnswerConfiguration> answers, AnswerConfigurationType currentType, String category, I18nLabel userSentence, List<BotStoryDefinitionConfigurationStep> children, Integer level, EntityStepSelection entity, IntentDefinition intentDefinition, IntentDefinition targetIntentDefinition)
-
Method Summary
Modifier and Type Method Description final StringgetName()The name of the step. final IntentWithoutNamespacegetIntent()The intent used to reach the step final IntentWithoutNamespacegetTargetIntent()The optional intent to switch to when the step is reached. final List<BotAnswerConfiguration>getAnswers()The answers available. final AnswerConfigurationTypegetCurrentType()The type of answer configuration. final StringgetCategory()The category of the answers. final I18nLabelgetUserSentence()The user sentence sample. final List<BotStoryDefinitionConfigurationStep>getChildren()The children of the steps final IntegergetLevel()The level of the step. final EntityStepSelectiongetEntity()Entity selection. final IntentDefinitiongetIntentDefinition()Intent defined by the intent name. final IntentDefinitiongetTargetIntentDefinition()Target Intent defined by the intent name. -
-
Constructor Detail
-
BotStoryDefinitionConfigurationStep
BotStoryDefinitionConfigurationStep(StoryDefinitionConfiguration story, StoryDefinitionConfigurationStep e, Boolean readOnly)
-
BotStoryDefinitionConfigurationStep
BotStoryDefinitionConfigurationStep(String name, IntentWithoutNamespace intent, IntentWithoutNamespace targetIntent, List<BotAnswerConfiguration> answers, AnswerConfigurationType currentType, String category, I18nLabel userSentence, List<BotStoryDefinitionConfigurationStep> children, Integer level, EntityStepSelection entity, IntentDefinition intentDefinition, IntentDefinition targetIntentDefinition)
-
-
Method Detail
-
getIntent
final IntentWithoutNamespace getIntent()
The intent used to reach the step
-
getTargetIntent
final IntentWithoutNamespace getTargetIntent()
The optional intent to switch to when the step is reached.
-
getAnswers
final List<BotAnswerConfiguration> getAnswers()
The answers available.
-
getCurrentType
final AnswerConfigurationType getCurrentType()
The type of answer configuration.
-
getCategory
final String getCategory()
The category of the answers.
-
getUserSentence
final I18nLabel getUserSentence()
The user sentence sample.
-
getChildren
final List<BotStoryDefinitionConfigurationStep> getChildren()
The children of the steps
-
getEntity
final EntityStepSelection getEntity()
Entity selection.
-
getIntentDefinition
final IntentDefinition getIntentDefinition()
Intent defined by the intent name.
-
getTargetIntentDefinition
final IntentDefinition getTargetIntentDefinition()
Target Intent defined by the intent name.
-
-
-
-