aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-ws/src/main')
-rw-r--r--sonar-ws/src/main/protobuf/ws-ce.proto9
1 files changed, 7 insertions, 2 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-ce.proto b/sonar-ws/src/main/protobuf/ws-ce.proto
index b52038250c0..76d8446fcbf 100644
--- a/sonar-ws/src/main/protobuf/ws-ce.proto
+++ b/sonar-ws/src/main/protobuf/ws-ce.proto
@@ -59,8 +59,13 @@ message ComponentResponse {
// GET api/ce/info
message InfoWsResponse {
- optional bool workersPaused = 1;
- optional bool workersPauseRequested = 2;
+ optional WorkersPauseStatus workersPauseStatus = 1;
+}
+
+enum WorkersPauseStatus {
+ RESUMED = 0;
+ PAUSING = 1;
+ PAUSED = 2;
}
// GET api/ce/task_types