Vridlo/types/Task: Difference between revisions

From ALT Linux Wiki
No edit summary
No edit summary
Line 1: Line 1:
'''Task''' is '''''secondary''''' structure that represents Task model, which is used for describing the [[Vridlo/types/Assembler|Assembler]]'s task. It is described as:
'''Task''' is a '''''secondary''''' structure that represents Task model, which is used for describing the [[Vridlo/types/Assembler|Assembler]]'s task. It is described as:


* '''no''' is ''natural '''mandatory write-once'''''
* '''no''' is ''natural '''mandatory write-once'''''

Revision as of 18:45, 13 December 2019

Task is a secondary structure that represents Task model, which is used for describing the Assembler's task. It is described as:

  • 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.