类 For


  • public class For
    extends Task<For>
    for 循环遍历表达式: ${workflow.input.elements} 循环体获取元素: ${eachNameRef.output.element} 循环体获取索引下标: ${eachNameRef.output.index}
    • 构造器详细资料

      • For

        public For​(String taskReferenceName,
                   String eachExpression,
                   Task<?>... tasks)
        Execute tasks in a loop determined by the condition set using condition parameter. The loop will continue till the condition is true
        参数:
        taskReferenceName -
        eachExpression - 根据循环类型确定参数名称及数据类型 例如: elements: ${workflow.input.elements} -- 接收数组元素
        tasks -
    • 方法详细资料

      • getOutputElementExp

        public String getOutputElementExp()
      • getOutputIndexExp

        public String getOutputIndexExp()
      • loopOver

        public For loopOver​(Task<?>... tasks)