Class Group.Builder

  • Enclosing class:
    Group

    public static class Group.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • type

        public Group.Builder type​(Group.Type type)
        The type of the group.

        PARALLEL_TASK_GROUP : Helps to execute tasks parallelly inside a resource. PARALLEL_RESOURCE_GROUP : Executes tasks across resources parallelly. ROLLING_RESOURCE_GROUP : Executes tasks across resources in a rolling order.

        Parameters:
        type - the value to set
        Returns:
        this builder
      • name

        public Group.Builder name​(String name)
        The name of the group.
        Parameters:
        name - the value to set
        Returns:
        this builder
      • build

        public Group build()