-
- All Implemented Interfaces:
-
ai.tock.bot.definition.IntentAware
public final class ClientStoryDefinition implements IntentAware
-
-
Field Summary
Fields Modifier and Type Field Description private final IntentAwaremainIntentprivate final Set<IntentAware>otherStarterIntentsprivate final Set<IntentAware>secondaryIntentsprivate final List<ClientStep>stepsprivate final StringstoryIdprivate final ClientStoryHandlerhandler
-
Constructor Summary
Constructors Constructor Description ClientStoryDefinition(IntentAware mainIntent, Set<IntentAware> otherStarterIntents, Set<IntentAware> secondaryIntents, List<ClientStep> steps, String storyId, ClientStoryHandler handler)
-
Method Summary
Modifier and Type Method Description final IntentAwaregetMainIntent()final Set<IntentAware>getOtherStarterIntents()final Set<IntentAware>getSecondaryIntents()final List<ClientStep>getSteps()final StringgetStoryId()final ClientStoryHandlergetHandler()IntentwrappedIntent()final BooleanisStarterIntent(Intent intent)-
-
Constructor Detail
-
ClientStoryDefinition
ClientStoryDefinition(IntentAware mainIntent, Set<IntentAware> otherStarterIntents, Set<IntentAware> secondaryIntents, List<ClientStep> steps, String storyId, ClientStoryHandler handler)
-
-
Method Detail
-
getMainIntent
final IntentAware getMainIntent()
-
getOtherStarterIntents
final Set<IntentAware> getOtherStarterIntents()
-
getSecondaryIntents
final Set<IntentAware> getSecondaryIntents()
-
getSteps
final List<ClientStep> getSteps()
-
getStoryId
final String getStoryId()
-
getHandler
final ClientStoryHandler getHandler()
-
wrappedIntent
Intent wrappedIntent()
-
isStarterIntent
final Boolean isStarterIntent(Intent intent)
-
-
-
-