The TaskJuggler Manual | ||
---|---|---|
Prev | Chapter 7. Property Reference | Next |
mandatory | |||
---|---|---|---|
Description | Makes a resource allocation mandatory. This means, that for each time slot only then resources are allocated when all mandatory resources are available. So either all mandatory resources can be allocated for the time slot, or no resource will be allocated. | ||
Context | allocate, | ||
Inheritable | No | Scenario Spec. | No |
project prj "Project" "1.0" 2000-01-01 - 2000-03-01 resource tuxus "Tuxus" resource truck "Truck" { # Truck does not do any work! efficiency 0.0 } task t "Ship stones to customers" { start 2000-01-01 effort 5d # We need the truck to deliver the stones, so only allocate # tuxus when the truck is available. allocate tuxus allocate truck { mandatory } }