Interface IWorkflowBpmnLayoutTaskBuilder
-
- All Superinterfaces:
IWorkflowBpmnLayoutAnnotatedElementBuilder<IWorkflowBpmnLayoutTaskBuilder>,IWorkflowBpmnLayoutNamedBuilder<IWorkflowBpmnLayoutTaskBuilder>,IWorkflowBpmnLayoutPortDirectionOptionsBuilder<IWorkflowBpmnLayoutTaskBuilder>
public interface IWorkflowBpmnLayoutTaskBuilder extends IWorkflowBpmnLayoutPortDirectionOptionsBuilder<IWorkflowBpmnLayoutTaskBuilder>, IWorkflowBpmnLayoutAnnotatedElementBuilder<IWorkflowBpmnLayoutTaskBuilder>, IWorkflowBpmnLayoutNamedBuilder<IWorkflowBpmnLayoutTaskBuilder>
Builder for the layout of a BPMNTask.- Since:
- 8.4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends de.xima.bpmn_model.api.element.bpmn.activities.Task<?>>
IAnnotatedNamedBpmnElementLayout<T>build(T task)Creates the layout for the given task, using the current layout settings.IWorkflowBpmnLayoutTaskBuilderheight(double height)The height of the task rectangle.IWorkflowBpmnLayoutTaskBuilderinPort()Adds an in port to the task.IWorkflowBpmnLayoutTaskBuilderoutPort()Adds an out port to the task.IWorkflowBpmnLayoutTaskBuilderwidth(double width)The width of the task rectangle.-
Methods inherited from interface de.xima.fc.interfaces.workflow.bpmn.IWorkflowBpmnLayoutAnnotatedElementBuilder
annotation, annotation, annotationDirection, annotationDirection, annotationDirection, annotationSpacing, annotationTextLayoutSettings
-
Methods inherited from interface de.xima.fc.interfaces.workflow.bpmn.IWorkflowBpmnLayoutNamedBuilder
name, name, nameTextLayoutSettings
-
Methods inherited from interface de.xima.fc.interfaces.workflow.bpmn.IWorkflowBpmnLayoutPortDirectionOptionsBuilder
portDirection, portDirection
-
-
-
-
Method Detail
-
build
<T extends de.xima.bpmn_model.api.element.bpmn.activities.Task<?>> IAnnotatedNamedBpmnElementLayout<T> build(T task)
Creates the layout for the given task, using the current layout settings.- Type Parameters:
T- The type of the task.- Parameters:
task- The task to create the layout for.- Returns:
- The layout for the task.
-
height
IWorkflowBpmnLayoutTaskBuilder height(double height)
The height of the task rectangle. Defaults to the layout settings'default task height.- Parameters:
height- The height of the task rectangle.- Returns:
- This builder for chaining method calls.
-
inPort
IWorkflowBpmnLayoutTaskBuilder inPort()
Adds an in port to the task.- Returns:
- This builder for chaining method calls.
-
outPort
IWorkflowBpmnLayoutTaskBuilder outPort()
Adds an out port to the task.- Returns:
- This builder for chaining method calls.
-
width
IWorkflowBpmnLayoutTaskBuilder width(double width)
The width of the task rectangle. Defaults to the layout settings'default task width.- Parameters:
width- The width of the task rectangle.- Returns:
- This builder for chaining method calls.
-
-