diff options
Diffstat (limited to 'lib/public/Async/Enum/BlockStatus.php')
-rw-r--r-- | lib/public/Async/Enum/BlockStatus.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/public/Async/Enum/BlockStatus.php b/lib/public/Async/Enum/BlockStatus.php new file mode 100644 index 00000000000..83485880a8e --- /dev/null +++ b/lib/public/Async/Enum/BlockStatus.php @@ -0,0 +1,20 @@ +<?php + +declare(strict_types=1); + +/** + * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + +namespace OCP\Async\Enum; + +enum BlockStatus: int { + case PREP = 0; + case STANDBY = 1; + case RUNNING = 4; + + case BLOCKER = 7; + case ERROR = 8; + case SUCCESS = 9; +} |