Interface IWorkflowElementBuilder<WorkflowElement extends AWorkflowElement<?,?>, Props>
- Type Parameters:
WorkflowElement- The type of the workflow element.Props- The type of the element's properties model.
- All Known Subinterfaces:
IBaseActionPropsBuilder<Self,Props>, IBaseTriggerPropsBuilder<Self, Props>, IChangeFormValuesBuilder, ICreateTextFileNodeBuilder, IEmailNodeBuilder, IFcForEachLoopsPropsBuilder, IFillPdfNodeBuilder, IFormRecordMessagePostedBuilder, IFormRecordMessageUploadRequestFulfilledBuilder, IHttpRequestNodeBuilder, IMultiConditionBuilder<Self, Props, WorkflowElement>, IMultipleConditionBuilder, IPromptQueryBuilder, ISendFormRecordMessageBuilder, ISetFormRecordPasswordNodeBuilder, IUserInvocationTriggerBuilder, IWithFormElementContextNodeBuilder
public interface IWorkflowElementBuilder<WorkflowElement extends AWorkflowElement<?,?>, Props>
Base interface for building a workflow element (node or trigger).
- Since:
- 8.3.3
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates a new workflow element with the configured properties.Creates a new properties model for a workflow element.
-
Method Details
-
build
Creates a new workflow element with the configured properties.- Returns:
- A new workflow element.
- Throws:
FastJsonException- When the properties model could not be serialized.
-
buildProps
Props buildProps()Creates a new properties model for a workflow element.- Returns:
- The properties model for a workflow element.
-