Class ForEachActivityTypeProperties


  • public final class ForEachActivityTypeProperties
    extends Object
    ForEach activity properties.
    • Constructor Detail

      • ForEachActivityTypeProperties

        public ForEachActivityTypeProperties()
    • Method Detail

      • isSequential

        public Boolean isSequential()
        Get the isSequential property: Should the loop be executed in sequence or in parallel (max 50).
        Returns:
        the isSequential value.
      • withIsSequential

        public ForEachActivityTypeProperties withIsSequential​(Boolean isSequential)
        Set the isSequential property: Should the loop be executed in sequence or in parallel (max 50).
        Parameters:
        isSequential - the isSequential value to set.
        Returns:
        the ForEachActivityTypeProperties object itself.
      • batchCount

        public Integer batchCount()
        Get the batchCount property: Batch count to be used for controlling the number of parallel execution (when isSequential is set to false).
        Returns:
        the batchCount value.
      • withBatchCount

        public ForEachActivityTypeProperties withBatchCount​(Integer batchCount)
        Set the batchCount property: Batch count to be used for controlling the number of parallel execution (when isSequential is set to false).
        Parameters:
        batchCount - the batchCount value to set.
        Returns:
        the ForEachActivityTypeProperties object itself.
      • items

        public Expression items()
        Get the items property: Collection to iterate.
        Returns:
        the items value.
      • withItems

        public ForEachActivityTypeProperties withItems​(Expression items)
        Set the items property: Collection to iterate.
        Parameters:
        items - the items value to set.
        Returns:
        the ForEachActivityTypeProperties object itself.
      • activities

        public List<Activity> activities()
        Get the activities property: List of activities to execute .
        Returns:
        the activities value.
      • withActivities

        public ForEachActivityTypeProperties withActivities​(List<Activity> activities)
        Set the activities property: List of activities to execute .
        Parameters:
        activities - the activities value to set.
        Returns:
        the ForEachActivityTypeProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.