|
1 | | -#ifndef RECODEX_WORKER_INTERNAL_ARCHIVATE_TASK_H |
2 | | -#define RECODEX_WORKER_INTERNAL_ARCHIVATE_TASK_H |
| 1 | +#ifndef RECODEX_WORKER_INTERNAL_ARCHIVE_TASK_H |
| 2 | +#define RECODEX_WORKER_INTERNAL_ARCHIVE_TASK_H |
3 | 3 |
|
4 | 4 | #include "tasks/task_base.h" |
5 | 5 |
|
6 | 6 |
|
7 | 7 | /** |
8 | | - * Create archive using @ref archivator. |
| 8 | + * Create archive using @ref archivist. |
9 | 9 | */ |
10 | | -class archivate_task : public task_base |
| 10 | +class archive_task : public task_base |
11 | 11 | { |
12 | 12 | public: |
13 | 13 | /** |
14 | 14 | * Constructor with initialization. |
15 | | - * @param id Unique identificator of load order of tasks. |
| 15 | + * @param id Unique identifier of load order of tasks. |
16 | 16 | * @param task_meta Variable containing further info about task. It's required that |
17 | 17 | * @a cmd_args entry has just 2 arguments - directory to be archived and name of the archive. |
18 | | - * For more info about archivation see @ref archivator class. |
| 18 | + * For more info about activation see @ref archivist class. |
19 | 19 | * @throws task_exception on invalid number of arguments. |
20 | 20 | */ |
21 | | - archivate_task(std::size_t id, std::shared_ptr<task_metadata> task_meta); |
| 21 | + archive_task(std::size_t id, std::shared_ptr<task_metadata> task_meta); |
22 | 22 | /** |
23 | 23 | * Destructor. |
24 | 24 | */ |
25 | | - ~archivate_task() override = default; |
| 25 | + ~archive_task() override = default; |
26 | 26 | /** |
27 | 27 | * Run the action. |
28 | 28 | * @return Evaluation results to be pushed back to frontend. |
29 | 29 | */ |
30 | 30 | std::shared_ptr<task_results> run() override; |
31 | 31 | }; |
32 | 32 |
|
33 | | -#endif // RECODEX_WORKER_INTERNAL_ARCHIVATE_TASK_H |
| 33 | +#endif // RECODEX_WORKER_INTERNAL_ARCHIVE_TASK_H |
0 commit comments