1 package net.avcompris.commons3.notifier.api; 2 3 import javax.annotation.Nullable; 4 5 public interface Notification { 6 7 ActionType getActionType(); 8 9 interface ActionType { 10 11 String name(); 12 } 13 14 @Nullable 15 String getUsername(); 16 17 Notification setActionType(ActionType actionType); 18 19 Notification setUsername(@Nullable String username); 20 }