Notification state: used to inform about event type
public enum State {
// -----------------------------------------------------
// ---- General state codes
/** OK - message received without error */
OK("state.ok", "state.ok.desc"),
/** There was an error while processing request */
ERROR("state.error", "state.error.desc"),
/** The task is done */
DONE("state.done", "state.done.desc"),
// -----------------------------------------------------
// ---- Translation Node states
/** Notification from translation node - chunk is ready */
TN_NOTIFICATION("state.tn.notification", "state.tn.notification.desc"),
// -----------------------------------------------------
// ---- Correlation Node states
/** Correlation job is queued and awaits execution */
CN_JOB_QUEUED("state.job.queued", "state.job.queued.desc"),
/** Correlation job is currently running on the cluster */
CN_JOB_RUNNING("state.job.running", "state.job.running.desc");