Interface ConversationDefinitionRegistrationBuilder

All Known Implementing Classes:
ConversationDefinitionRegistrationBuilderImpl

public interface ConversationDefinitionRegistrationBuilder
Builder for bulk registration of Conversation Definitions.
Author:
Filip Hrisafov
  • Method Details

    • addInputStream

      ConversationDefinitionRegistrationBuilder addInputStream​(java.lang.String resourceName, java.io.InputStream inputStream)
      Register the static conversation definitions defined in the inputStream with a resourceName
      Parameters:
      resourceName - the name of the resource
      inputStream - the stream containing the conversation definition schema
      Returns:
      the builder for chaining
    • tenantId

      ConversationDefinitionRegistrationBuilder tenantId​(java.lang.String tenantId)
      Register the converations definitions with the given tenantId
      Parameters:
      tenantId - the tenant id for the definitions
    • register

      java.util.List<ConversationDefinition> register()
      Perform the registration of all registered definitions within the resources
      Returns:
      the list of all registered ConversationDefinition(s)