data class StoryDefinitionConfigurationStep : StoryDefinitionAnswersContainer (source)
A StoryStep configuration in a StoryDefinitionConfiguration.
<init> |
StoryDefinitionConfigurationStep(step: StoryStep<*>)
A StoryStep configuration in a StoryDefinitionConfiguration. StoryDefinitionConfigurationStep(name: String, intent: IntentWithoutNamespace?, targetIntent: IntentWithoutNamespace?, answers: List<AnswerConfiguration>, currentType: AnswerConfigurationType, userSentence: String = "", userSentenceLabel: I18nLabelValue? = null, children: List<StoryDefinitionConfigurationStep> = emptyList(), level: Int = 0, entity: EntityStepSelection? = null) |
answers |
The answers available. val answers: List<AnswerConfiguration> |
children |
The children of the steps val children: List<StoryDefinitionConfigurationStep> |
currentType |
The type of answer configuration. val currentType: AnswerConfigurationType |
entity |
Entity selection. val entity: EntityStepSelection? |
hasNoChildren |
val hasNoChildren: Boolean |
intent |
The intent used to reach the step - mandatory if an answer is set, or if there is a targetIntent val intent: IntentWithoutNamespace? |
level |
The level of the step. val level: Int |
name |
The name of the step. val name: String |
targetIntent |
The optional intent to switch to when the step is reached. val targetIntent: IntentWithoutNamespace? |
userSentence |
The user sentence sample. val |
userSentenceLabel |
val userSentenceLabel: I18nLabelValue? |
findNextSteps |
fun findNextSteps(bus: BotBus, story: StoryDefinitionConfiguration): List<CharSequence> |
toStoryStep |
fun toStoryStep(story: StoryDefinitionConfiguration): StoryStep<StoryHandlerDefinition> |