public static NessEvent createEvent ( @ Nullable final UUID user , @ Nullable final DateTime timestamp , @ Nonnull final NessEventType type , @ Nullable final Map < String , ? extends Object > payload ) { return new NessEvent ( user , timestamp , type , payload , UUID . randomUUID ( ) ) ; }
Create a new event .