Enum NotificationAssigneeType

    • Enum Constant Detail

      • EMAIL

        @Deprecated
        public static final NotificationAssigneeType EMAIL
        Deprecated.
        Not yet implemented. It is not recommended to use this type until it is fully supported.
        Assigned to an email address. It is planned for this type to allow for email notifications without a user account.
    • Method Detail

      • values

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

        public static NotificationAssigneeType 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
      • isChannelSupported

        public boolean isChannelSupported​(NotificationChannelType channelType)
        Checks if the given channel type is supported by this assignee type.
        Parameters:
        channelType - The channel type to check.
        Returns:
        true if the channel type is supported, false otherwise.
      • isNeedsAssigneeId

        public boolean isNeedsAssigneeId()
        Checks if this assignee type requires an assignee ID.
        Returns:
        true if an assignee ID is required, false otherwise.
      • getIdClass

        public Class<? extends Serializable> getIdClass()
        The class of the assignee ID. If null, no ID is required.