Enum EmailType

    • Enum Constant Detail

      • EMAIL_NOTIFICATION_REQUEST

        public static final EmailType EMAIL_NOTIFICATION_REQUEST
      • EMAIL_NOTIFICATION_CONFIRM

        public static final EmailType EMAIL_NOTIFICATION_CONFIRM
      • EMAIL_NOTIFICATION_MESSAGE_NEW

        public static final EmailType EMAIL_NOTIFICATION_MESSAGE_NEW
      • EMAIL_NOTIFICATION_MESSAGE_REPLY

        public static final EmailType EMAIL_NOTIFICATION_MESSAGE_REPLY
      • EMAIL_NOTIFICATION_WALL_EVENT_NEW

        public static final EmailType EMAIL_NOTIFICATION_WALL_EVENT_NEW
      • EMAIL_NOTIFICATION_WALL_POST_MY_NEW

        public static final EmailType EMAIL_NOTIFICATION_WALL_POST_MY_NEW
      • EMAIL_NOTIFICATION_WALL_POST_CONNECTION_NEW

        public static final EmailType EMAIL_NOTIFICATION_WALL_POST_CONNECTION_NEW
      • EMAIL_NOTIFICATION_WALL_STATUS_NEW

        public static final EmailType EMAIL_NOTIFICATION_WALL_STATUS_NEW
      • EMAIL_NOTIFICATION_WORKSITE_NEW

        public static final EmailType EMAIL_NOTIFICATION_WORKSITE_NEW
      • EMAIL_NOTIFICATION_PROFILE_CHANGE

        public static final EmailType EMAIL_NOTIFICATION_PROFILE_CHANGE
    • Method Detail

      • values

        public static EmailType[] 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 (EmailType c : EmailType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EmailType 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
      • toPreference

        public PreferenceType toPreference()
        Return the PreferenceType that matches this type.
        Returns: