Enum NotificationType

    • Enum Constant Detail

      • EVENT_CREATION

        public static final NotificationType EVENT_CREATION
        "eventCreation" - Notification sent when a new event is put on the calendar.
      • EVENT_CHANGE

        public static final NotificationType EVENT_CHANGE
        "eventChange" - Notification sent when an event is changed.
      • EVENT_CANCELLATION

        public static final NotificationType EVENT_CANCELLATION
        "eventCancellation" - Notification sent when an event is cancelled.
      • EVENT_RESPONSE

        public static final NotificationType EVENT_RESPONSE
        "eventResponse" - Notification sent when an event is changed.
      • AGENDA

        public static final NotificationType AGENDA
        "agenda" - An agenda with the events of the day (sent out in the morning).
    • Method Detail

      • values

        public static NotificationType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (NotificationType c : NotificationType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static NotificationType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null