value>priority
<value>
| |||
|---|---|---|---|
| Description | Specifies a priority between 1 and 1000. A task with higher priority is more likely to get the requested resources. This attribute is inherited by subtasks if specified prior to the definition of the subtask. | ||
| Attributes | Name | Type | Description |
value | INTEGER | ||
| Context | The TJP File, task, | ||
| Inheritable | No | Scenario Spec. | No |
project prj "Priority Demo" "1.0" 2005-07-15 2005-10-01
resource tux "Tux"
task items "Project breakdown" {
start 2005-07-15
task coolStuff "Do some cool stuff" {
start 2005-08-01
effort 10d
priority 800
allocate tux
}
task otherStuff "Other not so important stuff" {
start 2005-08-01
effort 20d
priority 500
allocate tux
}
task maintenance "Maintenance work" {
# This is a fallback task. Whenever tux is not doing something
# else he is allocated to this task.
duration 2m
priority 300
allocate tux
}
}