Vridlo/types/Task: Difference between revisions
(Created page with "'''Task''' is read-only structure that represents Task model. It is described as: * '''slug''' is ''string '''mandatory write-once''''' Unique internal identifier of the fil...") |
No edit summary |
||
Line 1: | Line 1: | ||
'''Task''' is | '''Task''' is structure that represents Task model, which is used for describing the [[Vridlo/types/Assembler|Assembler]]'s task. It is described as: | ||
* ''' | * '''id''' is ''string '''mandatory read-only internal''''' | ||
Unique internal identifier of the | Unique internal identifier of the task represented by a natural integer. | ||
* ''' | * '''no''' is ''natural '''mandatory write-once''''' | ||
Unique task identifier in the context of the current assembler. | |||
* ''' | * '''uri''' is ''string '''optional''''' | ||
External resource URI to see the task details. | |||
* ''' | * '''state''' is ''string '''optional''''' | ||
State of the task. | |||
* ''' | * '''shared''' is ''boolean '''optional''''' | ||
Shared flag of the task. | |||
* '''test''' is ''boolean '''optional''''' | |||
Testonly flag of the task. | |||
* '''try''' is ''natural '''optional''''' | |||
Try of the build. | |||
* '''iteration''' is ''natural '''optional''''' | |||
Build iteration | |||
* '''owner_slug''' is ''string '''mandatory write-once''''' | |||
The task owner slug in the context of the current assembler. | |||
* '''source_path_slug''' is ''string '''mandatory write-once''''' | |||
Slug of the source path. | |||
* '''changed_at''' is ''string '''optional write-once''''' | |||
Task state is changed at the time. | |||
* '''exercises_count''' is ''positive '''mandatory read-only''''' | |||
Count of held [[Vridlo/types/Exercises|exercises i.e. subtasks]] in the task. |
Revision as of 12:54, 12 December 2019
Task is structure that represents Task model, which is used for describing the Assembler's task. It is described as:
- id is string mandatory read-only internal
Unique internal identifier of the task represented by a natural integer.
- no is natural mandatory write-once
Unique task identifier in the context of the current assembler.
- uri is string optional
External resource URI to see the task details.
- state is string optional
State of the task.
- shared is boolean optional
Shared flag of the task.
- test is boolean optional
Testonly flag of the task.
- try is natural optional
Try of the build.
- iteration is natural optional
Build iteration
- owner_slug is string mandatory write-once
The task owner slug in the context of the current assembler.
- source_path_slug is string mandatory write-once
Slug of the source path.
- changed_at is string optional write-once
Task state is changed at the time.
- exercises_count is positive mandatory read-only
Count of held exercises i.e. subtasks in the task.