fuweng11 commented on code in PR #10445:
URL: https://github.com/apache/inlong/pull/10445#discussion_r1644389443


##########
inlong-manager/manager-common/src/main/java/org/apache/inlong/manager/common/enums/ScheduleStatus.java:
##########
@@ -19,10 +19,24 @@
 
 import lombok.Getter;
 
+/**
+ * Status for schedule info.
+ * This is the transient status of the schedule info.
+ * With specified operations, the status will change to corresponding value.
+ *  Status                Operations
+ *  NEW                   inlong group created with schedule info
+ *  APPROVED              the new inlong group approved by admin
+ *  REGISTERED            schedule info registered to schedule engine
+ *  UPDATED               update schedule info for a group
+ *  DELETED               delete a group
+ * */
 @Getter
 public enum ScheduleStatus {
 
     NEW(100, "new"),
+    APPROVED(103, "approved"),
+    REGISTERED(130, "registered"),
+    UPDATED(151, "updated"),
     DELETED(40, "deleted");

Review Comment:
   ```suggestion
       NEW(100, "new"),
       APPROVED(101, "approved"),
       REGISTERED(102, "registered"),
       UPDATED(103, "updated"),
       DELETED(99, "deleted");
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to