Class StepBuilder
Allow
Step objects to be built where all fields are optional-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()ConstructStepfrom provided fieldsAddsCustomAnnotationwithStepId(String stepId) Add stepId fieldwithStepName(String stepName) Add step name fieldwithWorkflowId(String workflowId) Add workflowId field
-
Constructor Details
-
StepBuilder
public StepBuilder()Construct builder
-
-
Method Details
-
withStepId
Add stepId field- Parameters:
stepId-- Returns:
StepBuilder
-
withStepName
Add step name field- Parameters:
stepName-- Returns:
StepBuilder
-
withWorkflowId
Add workflowId field- Parameters:
workflowId-- Returns:
StepBuilder
-
withAnnotation
AddsCustomAnnotation- Parameters:
anno-- Returns:
StepBuilder
-
build
-