class EventConverterAdapter implements EventConverter<E> {

    @Override
    public E convert(String key) {
        for (E event : type.getEnumConstants()) {
            if (key.equalsIgnoreCase(event.event())) {
                return event;
            }
        }
        return null;
    }

    public  EventConverterAdapter(Class<E> clazz);

}