 | TaskConstraintType Enumeration |
Gantt constraint type applied on a task.
Namespace:
EBP.Api.Interfaces.Invoicing.Module.Types.Gantt
Assembly:
EBP.Api.XXX.Interfaces (in EBP.Api.XXX.Interfaces.dll) Version: 1.0.3.0
Syntaxpublic enum TaskConstraintType
Public Enumeration TaskConstraintType
Members
| Member name | Value | Description |
---|
| AsLateAsPossible | 0 | Schedules the task as late as it can without delaying subsequent tasks. The constraint datetime
is not used. If the task on which the constraint is being set is the predecessor for other tasks,
a date is used that will not create a conflict with any of the dependent tasks.
If the task is not a predecessor, the end date of the associated project
determines the effective constraining date. A task dependency
never conflicts with the 'AsLateAsPossible' constraint since the constraining date
is determined in that case by the dependency. |
| AsSoonAsPossible | 1 | Schedules the task to start as early as it can. The constraint datetime
is not used. If the task on which the constraint is being set is linked to other tasks,
a date is used that will not create a conflict with any of the dependent tasks.
If the task is not a predecessor, the start date of the associated project
determines the effective constraining date, i.e., the task will begin on the same
date as the project. A task dependency
never conflicts with the 'AsSoonAsPossible' constraint since the constraining date
is determined in that case by the dependency. |
| FinishNoEarlierThan | 2 | Schedules the task to finish on or after the constraint datetime.
If no constraining date/time is specified, the end datetime
is used. If the task is dependent on another task, i.e., its dependencies
collection has one or more items, the predecessor which causes the task to begin the
latest determines its start, unless that date/time violates the constraint, in which
case the constraint determines the ending date/time for the task. |
| FinishNoLaterThan | 3 | Schedules the task to finish on or before the constraint datetime.
If no constraining date/time is specified, the end datetime
is used. If the task is dependent on another task, i.e., its dependencies
collection has one or more items, the predecessor which causes the task to begin the latest determines its start.
Setting a task's constraint to 'FinishNoLaterThan' when the task has a dependency will cause the task constraint violation
event to fire, although a listener can opt to keep both the constraint and the dependency. In that
case, the task remains linked to the predecessor, but the task times are then determined solely by the
constraint. |
| MustFinishOn | 4 | Schedules the task to finish on the constraint datetime.
A task whose ConstraintType is set to 'MustFinishOn' cannot be moved along the timeline.
If no constraining date/time is specified, the end datetime
is used. If the task is dependent on another task, i.e., its dependencies
collection has one or more items, the predecessor which causes the task to begin the latest determines its start.
Setting a task's constraint to 'MustFinishOn' when the task has a dependency will cause the task constraint violation
event to fire, although a listener can opt to keep both the constraint and the dependency. In that
case, the task remains linked to the predecessor, but the task times are then determined solely by the
constraint. |
| MustStartOn | 5 | Schedules the task to begin on the constraint datetime.
A task whose ConstraintType is set to 'MustStartOn' cannot be moved along the timeline.
If no constraining date/time is specified, the start datetime
is used. If the task is dependent on another task, i.e., its dependencies
collection has one or more items, the predecessor which causes the task to begin the latest determines its start.
Setting a task's constraint to 'MustStartOn' when the task has a dependency will cause the task constraint violation
event to fire, although a listener can opt to keep both the constraint and the dependency. In that
case, the task remains linked to the predecessor, but the task times are then determined solely by the
constraint. |
| StartNoEarlierThan | 6 | (Default) Schedules the task to begin on or after the constraint datetime.
If no constraining date/time is specified, the start datetime
is used. If the task is dependent on another task, i.e., its dependencies
collection has one or more items, the predecessor which causes the task to begin the
latest determines its start, unless that date/time violates the constraint, in which
case the constraint determines the ending date/time for the task. |
| StartNoLaterThan | 7 | Schedules the task to begin on or before the constraint datetime.
If no constraining date/time is specified, the end datetime
is used. If the task is dependent on another task, i.e., its dependencies
collection has one or more items, the predecessor which causes the task to begin the latest determines its start.
Setting a task's constraint to 'StartNoLaterThan' when the task has a dependency will cause the task constraint violation
event to fire, although a listener can opt to keep both the constraint and the dependency. In that
case, the task remains linked to the predecessor, but the task times are then determined solely by the
constraint. |
See Also