1 package de.juplo.kafka.outbox.polling;
3 import org.springframework.context.ApplicationEvent;
6 public class UserEvent extends ApplicationEvent
24 public static Type ofInt(int ordinal)
28 case 1: return CREATED;
30 case 3: return LOGOUT;
31 case 4: return DELETED;
33 throw new RuntimeException("Unknown ordinal: " + ordinal);
37 public static int toInt(Type type)
53 public UserEvent(Object source, Type type, String user)