package com.hubspot.singularity;

public enum SingularityEmailType {
  TASK_LOST("#D9534F"), TASK_KILLED("#777777"), TASK_FINISHED_SCHEDULED("#5CB85C"), TASK_FINISHED_LONG_RUNNING("#5CB85C"),
  TASK_FINISHED_ON_DEMAND("#5CB85C"), TASK_FINISHED_RUN_ONCE("#5CB85C"), TASK_FAILED("#D9534F"), TASK_SCHEDULED_OVERDUE_TO_FINISH("#D9534F"),
  TASK_KILLED_DECOMISSIONED("#777777"), TASK_KILLED_UNHEALTHY("#D9534F"), REQUEST_IN_COOLDOWN("#D9534F"), SINGULARITY_ABORTING("#D9534F"),
  REQUEST_REMOVED("#777777"), REQUEST_PAUSED("#5BC0DE"), REQUEST_UNPAUSED("#5BC0DE"), REQUEST_SCALED("#5BC0DE"), TASK_FAILED_DECOMISSIONED("#D9534F"),
  DISASTER_DETECTED("#D9534F");

  private final String color;

  SingularityEmailType(String color) {
    this.color = color;
  }

  public String getColor() {
    return this.color;
  }
}

@@ -432,16 +432,56 @@
 9534F%22),
+ REPLACEMENT_TASKS_FAILING(%22#D9534F%22),%0A 
  SINGULA
@@ -505,18 +505,16 @@
 9534F%22),
-%0A 
  REQUEST
@@ -616,16 +616,18 @@
 BC0DE%22),
+%0A 
  TASK_FA
@@ -656,18 +656,16 @@
 9534F%22),
-%0A 
  DISASTE

Add new email type.