package com.linkedin.thirdeye.anomaly.task;

public class TaskConstants {

  public enum TaskType {
    ANOMALY_DETECTION,
    MERGE,

    // todo : mark ALERT deprecated
    ALERT,
    ALERT2,
    MONITOR,
    DATA_COMPLETENESS,
    GROUPING
  }

  public enum TaskStatus {
    WAITING,
    RUNNING,
    COMPLETED,
    FAILED
  }
}

@@ -131,44 +131,46 @@
 GE,%0A
-%0A
     // 
-todo : mark ALERT deprecated
+TODO: deprecate ALERT task type
 %0A   
@@ -225,16 +225,16 @@
 TENESS,%0A
-
     GROU
@@ -237,16 +237,160 @@
 GROUPING
+,%0A    // TODO: deprecate NULL task type after old task are deleted from current (as of 4/4/2017) database%0A    NULL // for backward compatibility
 %0A  %7D%0A%0A  

Add backward compatibility for reading old JobBean (#1252)