public class JobPlanTaskDependency
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
JobPlanTaskDependency(org.w3c.dom.Element pre) |
|
JobPlanTaskDependency(JobPlanTask predecessor,
TaskState when)
Creates a
JobPlanTaskDependency using the specified
predecessor and when-condition. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
protected int |
getPreLnr() |
JobPlanTask |
getTask()
Returns the predecessor task.
|
TaskState |
getWhen()
Gets the expected status of the predecessor.
|
int |
hashCode() |
protected void |
setTask(JobPlanTask task) |
void |
setWhen(TaskState when)
Sets the expected status of the predecessor.
|
protected void |
store(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element predecessors,
int branchType) |
protected JobPlanTaskDependency(org.w3c.dom.Element pre)
public JobPlanTaskDependency(JobPlanTask predecessor, TaskState when)
JobPlanTaskDependency
using the specified
predecessor and when-condition.predecessor
- JobPlan taskwhen
- Expected status or null if status should not be setpublic TaskState getWhen()
public void setWhen(TaskState when)
when
- TaskState containing the expected statusprotected int getPreLnr()
public JobPlanTask getTask()
protected void setTask(JobPlanTask task)
protected void store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element predecessors, int branchType)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object