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,ISendFormRecordMessageBuilder,IUserInvocationTriggerBuilder
public interface IWorkflowElementBuilder<WorkflowElement extends AWorkflowElement<?,?>,Props>Base interface for building a workflow element (node or trigger).- Since:
- 8.3.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WorkflowElementbuild()Creates a new workflow element with the configured properties.PropsbuildProps()Creates a new properties model for a workflow element.
-
-
-
Method Detail
-
build
WorkflowElement build() throws FastJsonException
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.
-
-