Class AbstractMultiInstanceLoopCharacteristicsBuilder<B extends AbstractMultiInstanceLoopCharacteristicsBuilder<B>>

Direct Known Subclasses:
MultiInstanceLoopCharacteristicsBuilder

public class AbstractMultiInstanceLoopCharacteristicsBuilder<B extends AbstractMultiInstanceLoopCharacteristicsBuilder<B>> extends AbstractBaseElementBuilder<B,MultiInstanceLoopCharacteristics>
Author:
Thorben Lindhauer
  • Constructor Details

  • Method Details

    • sequential

      public B sequential()
      Sets the multi instance loop characteristics to be sequential.
      Returns:
      the builder object
    • parallel

      public B parallel()
      Sets the multi instance loop characteristics to be parallel.
      Returns:
      the builder object
    • cardinality

      public B cardinality(String expression)
      Sets the cardinality expression.
      Parameters:
      expression - the cardinality expression
      Returns:
      the builder object
    • completionCondition

      public B completionCondition(String expression)
      Sets the completion condition expression.
      Parameters:
      expression - the completion condition expression
      Returns:
      the builder object
    • camundaCollection

      public B camundaCollection(String expression)
      Sets the camunda collection expression.
      Parameters:
      expression - the collection expression
      Returns:
      the builder object
    • camundaElementVariable

      public B camundaElementVariable(String variableName)
      Sets the camunda element variable name.
      Parameters:
      variableName - the name of the element variable
      Returns:
      the builder object
    • camundaAsyncBefore

      public B camundaAsyncBefore()
      Sets the multi instance loop characteristics to be asynchronous before.
      Returns:
      the builder object
    • camundaAsyncAfter

      public B camundaAsyncAfter()
      Sets the multi instance loop characteristics to be asynchronous after.
      Returns:
      the builder object
    • multiInstanceDone

      public <T extends AbstractActivityBuilder> T multiInstanceDone()
      Finishes the building of a multi instance loop characteristics.
      Returns:
      the parent activity builder