Package com.flowable.engage.api
Interface ConversationDefinitionRegistrationBuilder
-
- All Known Implementing Classes:
ConversationDefinitionRegistrationBuilderImpl
public interface ConversationDefinitionRegistrationBuilder
Builder for bulk registration of Conversation Definitions.- Author:
- Filip Hrisafov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConversationDefinitionRegistrationBuilder
addInputStream(String resourceName, InputStream inputStream)
Register the static conversation definitions defined in theinputStream
with aresourceName
List<ConversationDefinition>
register()
Perform the registration of all registered definitions within the resourcesConversationDefinitionRegistrationBuilder
tenantId(String tenantId)
Register the converations definitions with the giventenantId
-
-
-
Method Detail
-
addInputStream
ConversationDefinitionRegistrationBuilder addInputStream(String resourceName, InputStream inputStream)
Register the static conversation definitions defined in theinputStream
with aresourceName
- Parameters:
resourceName
- the name of the resourceinputStream
- the stream containing the conversation definition schema- Returns:
- the builder for chaining
-
tenantId
ConversationDefinitionRegistrationBuilder tenantId(String tenantId)
Register the converations definitions with the giventenantId
- Parameters:
tenantId
- the tenant id for the definitions
-
register
List<ConversationDefinition> register()
Perform the registration of all registered definitions within the resources- Returns:
- the list of all registered
ConversationDefinition
(s)
-
-