public Type getType() {
    return Type.GENERIC;
  }
Gets the type of notificaton.

@return the type (never {@code null}).
ambari-server/src/main/java/org/apache/ambari/server/notifications/Notification.java