annotate Common/StoragePlugin.h @ 93:4b30718f2e05 2.1.1

2.1.1
author Alain Mazy <am@osimis.io>
date Fri, 16 Dec 2022 14:56:24 +0100
parents 8a9207933297
children 3c7e0374f28e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
84
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
1 /**
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
2 * Transfers accelerator plugin for Orthanc
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
3 * Copyright (C) 2018-2021 Osimis S.A., Belgium
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
4 *
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
5 * This program is free software: you can redistribute it and/or
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
6 * modify it under the terms of the GNU Affero General Public License
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
7 * as published by the Free Software Foundation, either version 3 of
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
8 * the License, or (at your option) any later version.
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
9 *
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
10 * This program is distributed in the hope that it will be useful, but
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
13 * Affero General Public License for more details.
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
14 *
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
15 * You should have received a copy of the GNU Affero General Public License
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
17 **/
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
18
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
19
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
20 #pragma once
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
21
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
22
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
23 static const char* const JOB_TYPE_MOVE_STORAGE = "MoveStorage";
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
24
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
25 static const char* const KEY_RESOURCES = "Resources";
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
26 static const char* const KEY_TARGET_STORAGE = "TargetStorage";
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
27 static const char* const KEY_INSTANCES = "Instances";
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
28 static const char* const KEY_CONTENT = "Content";
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
29
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
30 static const char* const STORAGE_TYPE_FILE_SYSTEM = "file-system";
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
31 static const char* const STORAGE_TYPE_OBJECT_STORAGE = "object-storage";
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
32