类 ExecutingWorkflow
- java.lang.Object
-
- cn.feiliu.taskflow.common.run.ExecutingWorkflow
-
public class ExecutingWorkflow extends Object
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static class
ExecutingWorkflow.WorkflowStatus
-
构造器概要
构造器 构造器 说明 ExecutingWorkflow()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ExecutingWorkflow
copy()
boolean
equals(Object o)
ExecutingTask
getTaskByRefName(String refName)
String
getWorkflowName()
Convenience method for accessing the workflow definition name.int
getWorkflowVersion()
Convenience method for accessing the workflow definition version.int
hashCode()
boolean
hasParent()
void
setPriority(int priority)
String
toShortString()
A string representation of all relevant fields that identify this workflow.String
toString()
-
-
-
方法详细资料
-
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.
-
-