Package com.flowable.engage.api
Interface ConversationDefinitionRegistrationBuilder
-
- All Known Implementing Classes:
ConversationDefinitionRegistrationBuilderImpl
public interface ConversationDefinitionRegistrationBuilderBuilder for bulk registration of Conversation Definitions.- Author:
- Filip Hrisafov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConversationDefinitionRegistrationBuilderaddInputStream(String resourceName, InputStream inputStream)Register the static conversation definitions defined in theinputStreamwith aresourceNameList<ConversationDefinition>register()Perform the registration of all registered definitions within the resourcesConversationDefinitionRegistrationBuildertenantId(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 theinputStreamwith 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)
-
-