类 ExecutingWorkflow
- java.lang.Object
-
- cn.feiliu.taskflow.common.run.ExecutingWorkflow
-
public class ExecutingWorkflow extends Object
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classExecutingWorkflow.WorkflowStatus
-
构造器概要
构造器 构造器 说明 ExecutingWorkflow()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ExecutingWorkflowcopy()booleanequals(Object o)ExecutingTaskgetTaskByRefName(String refName)StringgetWorkflowName()Convenience method for accessing the workflow definition name.intgetWorkflowVersion()Convenience method for accessing the workflow definition version.inthashCode()booleanhasParent()voidsetPriority(int priority)StringtoShortString()A string representation of all relevant fields that identify this workflow.StringtoString()
-
-
-
方法详细资料
-
setPriority
public void setPriority(int priority)
- 参数:
priority- priority of tasks (between 0 and 99)
-
getWorkflowName
public String getWorkflowName()
Convenience method for accessing the workflow definition name.- 返回:
- the workflow definition name.
-
getWorkflowVersion
public int getWorkflowVersion()
Convenience method for accessing the workflow definition version.- 返回:
- the workflow definition version.
-
hasParent
public boolean hasParent()
-
getTaskByRefName
public ExecutingTask getTaskByRefName(String refName)
-
copy
public ExecutingWorkflow copy()
- 返回:
- a deep copy of the workflow instance
-
toShortString
public String toShortString()
A string representation of all relevant fields that identify this workflow. Intended for use in log and other system generated messages.
-
-