package de.ivu.elect.business.email.entity;

import de.ivu.elect.jee.presentation.Icons;

public enum EmailStatusType {
  ZU_VERSENDEN {
    @Override
    public String getIcon(Icons icons) {
      return icons.getIconSend();
    }
  },
  VERSENDET {
    @Override
    public String getIcon(Icons icons) {
      return icons.getIconCheck();
    }
  },
  FEHLER {
    @Override
    public String getIcon(Icons icons) {
      return icons.getIconStatusError();
    }
  },
  ABGEBROCHEN {
    @Override
    public String getIcon(Icons icons) {
      return icons.getIconCancel();
    }
  };

  public abstract String getIcon(Icons icons);
}
