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 aJobPlanTaskDependency
using the specified predecessor and when-condition.protected
-
Method Summary
Modifier and TypeMethodDescriptionboolean
protected int
getTask()
Returns the predecessor task.getWhen()
Gets the expected status of the predecessor.int
hashCode()
protected void
setTask
(JobPlanTask task) void
Sets the expected status of the predecessor.protected void
-
Constructor Details
-
JobPlanTaskDependency
-
JobPlanTaskDependency
Creates aJobPlanTaskDependency
using 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()
-