Class TaskDependency
java.lang.Object
com.codename1.scheduling.TaskDependency
A link between two tasks: the successor waits for the predecessor.
lag is working time added to the wait, and a negative lag is a lead: a
finish-to-start link with a lag of minus one day lets the successor start
a day before the predecessor finishes.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWhich end of the predecessor holds which end of the successor. -
Method Summary
-
Method Details
-
getPredecessor
-
getSuccessor
-
getType
-
setType
-
getLag
public long getLag()Working time in milliseconds; negative for a lead. -
setLag
-
constrainsStart
public boolean constrainsStart()Whether the link holds the successor's start (and not its finish). -
fromFinish
public boolean fromFinish()Whether the link is measured from the predecessor's finish.
-