类 DoWhile
- java.lang.Object
-
- cn.feiliu.taskflow.sdk.workflow.def.tasks.Task<DoWhile>
-
- cn.feiliu.taskflow.sdk.workflow.def.tasks.DoWhile
-
-
字段概要
字段 修饰符和类型 字段 说明 static StringLOOP_COUNT-
从类继承的字段 cn.feiliu.taskflow.sdk.workflow.def.tasks.Task
taskInput, taskOutput
-
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetLoopCondition()List<? extends Task>getLoopTasks()DoWhileloopOver(Task<?>... tasks)DoWhilesetLoopCondition(String condition)设置循环条件表达式(目前仅支持javascript)voidupdateWorkflowTask(FlowTask workflowTask)Override this method when the sub-class should update the default WorkflowTask generated usingTask.toWorkflowTask()-
从类继承的方法 cn.feiliu.taskflow.sdk.workflow.def.tasks.Task
description, getChildrenTasks, getDescription, getInput, getName, getParentTasks, getStartDelay, getTaskReferenceName, getType, getWorkflowDefTasks, input, input, input, input, input, input, input, input, input, input, input, isOptional, name, setName, setOptional, setStartDelay, setTaskReferenceName, toWorkflowTask
-
-
-
-
构造器详细资料
-
DoWhile
public DoWhile(String taskReferenceName, String expression, 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-expression- ${workflow.input.loopCount} 要求数据类型为Number类型tasks-
-
-
方法详细资料
-
setLoopCondition
public DoWhile setLoopCondition(String condition)
设置循环条件表达式(目前仅支持javascript)- 参数:
condition-- 返回:
-
getLoopCondition
public String getLoopCondition()
-
updateWorkflowTask
public void updateWorkflowTask(FlowTask workflowTask)
从类复制的说明:TaskOverride this method when the sub-class should update the default WorkflowTask generated usingTask.toWorkflowTask()- 覆盖:
updateWorkflowTask在类中Task<DoWhile>
-
-