Interface IWorkflowBpmnLayoutTaskBuilder

All Superinterfaces:
IWorkflowBpmnLayoutAnnotatedElementBuilder<IWorkflowBpmnLayoutTaskBuilder>, IWorkflowBpmnLayoutNamedBuilder<IWorkflowBpmnLayoutTaskBuilder>, IWorkflowBpmnLayoutPortDirectionOptionsBuilder<IWorkflowBpmnLayoutTaskBuilder>

  • Method Details

    • 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

      Adds an in port to the task.
      Returns:
      This builder for chaining method calls.
    • 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.