Class NotificationType

java.lang.Object
io.jmix.notifications.NotificationType

public class NotificationType extends Object
Describes type of notification.

Types should be created and registered on project side via NotificationTypesRepository on application start. Range of types depends on project purposes.

  • Constructor Details

    • NotificationType

      public NotificationType(String name, String iconName)
      Creates new notification type.
      Parameters:
      name - unique name
      iconName - name of icon (like 'INFO_CIRCLE', 'WARNING', etc)
  • Method Details