Package com.uc4.api.objects
Class JobPlanTaskDependency
java.lang.Object
com.uc4.api.objects.JobPlanTaskDependency
This class represents a single JobPlan dependency.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionJobPlanTaskDependency(JobPlanTask predecessor, TaskState when) Creates aJobPlanTaskDependencyusing the specified predecessor and when-condition.protected -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected intgetTask()Returns the predecessor task.getWhen()Gets the expected status of the predecessor.inthashCode()protected voidsetTask(JobPlanTask task) voidSets the expected status of the predecessor.protected void
-
Constructor Details
-
JobPlanTaskDependency
-
JobPlanTaskDependency
Creates aJobPlanTaskDependencyusing the specified predecessor and when-condition.- Parameters:
predecessor- JobPlan taskwhen- Expected status or null if status should not be set
-
-
Method Details
-
getWhen
Gets the expected status of the predecessor.- Returns:
- TaskState containing the expected status
-
setWhen
Sets the expected status of the predecessor.- Parameters:
when- TaskState containing the expected status
-
getPreLnr
protected int getPreLnr() -
getTask
Returns the predecessor task.- Returns:
- Predecessor
-
setTask
-
store
-
equals
-
hashCode
public int hashCode()
-