Package com.uc4.api.objects
Class JobPlanTaskDependency
- java.lang.Object
- 
- com.uc4.api.objects.JobPlanTaskDependency
 
- 
 public class JobPlanTaskDependency extends java.lang.ObjectThis class represents a single JobPlan dependency.
- 
- 
Constructor SummaryConstructors Modifier Constructor Description JobPlanTaskDependency(JobPlanTask predecessor, TaskState when)Creates aJobPlanTaskDependencyusing the specified predecessor and when-condition.protectedJobPlanTaskDependency(org.w3c.dom.Element pre)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)protected intgetPreLnr()JobPlanTaskgetTask()Returns the predecessor task.TaskStategetWhen()Gets the expected status of the predecessor.inthashCode()protected voidsetTask(JobPlanTask task)voidsetWhen(TaskState when)Sets the expected status of the predecessor.protected voidstore(com.uc4.util.XMLDocument doc, org.w3c.dom.Element predecessors, int branchType)
 
- 
- 
- 
Constructor Detail- 
JobPlanTaskDependencyprotected JobPlanTaskDependency(org.w3c.dom.Element pre) 
 - 
JobPlanTaskDependencypublic JobPlanTaskDependency(JobPlanTask predecessor, TaskState when) Creates aJobPlanTaskDependencyusing the specified predecessor and when-condition.- Parameters:
- predecessor- JobPlan task
- when- Expected status or null if status should not be set
 
 
- 
 - 
Method Detail- 
getWhenpublic TaskState getWhen() Gets the expected status of the predecessor.- Returns:
- TaskState containing the expected status
 
 - 
setWhenpublic void setWhen(TaskState when) Sets the expected status of the predecessor.- Parameters:
- when- TaskState containing the expected status
 
 - 
getPreLnrprotected int getPreLnr() 
 - 
getTaskpublic JobPlanTask getTask() Returns the predecessor task.- Returns:
- Predecessor
 
 - 
setTaskprotected void setTask(JobPlanTask task) 
 - 
storeprotected void store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element predecessors, int branchType)
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 
- 
 
-