Class IgnoredNotificationStateRepository


  • public class IgnoredNotificationStateRepository
    extends Object
    Identify a repository that should not be included in the operation of NotificationHandler and RetryHandler. A bean instance of this can simply be declared in a configuration class and the system will pick it up and filter out that repository from any notification handling.
    Author:
    Jeff Fischer
    • Constructor Detail

      • IgnoredNotificationStateRepository

        public IgnoredNotificationStateRepository​(Class<?> assignableTo,
                                                  String messageType)
      • IgnoredNotificationStateRepository

        public IgnoredNotificationStateRepository​(Class<?> assignableTo)
    • Method Detail

      • getAssignableTo

        public Class<?> getAssignableTo()
        Class, interface or superclass that the target repository can be assigned to
      • getMessageType

        public String getMessageType()
        The type of message the repository should be ignored for. Optional. If omitted, the repository will be ignored for all message types.
      • isCompileChangeDetails

        public boolean isCompileChangeDetails()
        Whether or not entities managed by the ignored repository should have change details compiled at the time of edit. True by default.
      • setMessageType

        public void setMessageType​(String messageType)
        The type of message the repository should be ignored for. Optional. If omitted, the repository will be ignored for all message types.
      • setCompileChangeDetails

        public void setCompileChangeDetails​(boolean compileChangeDetails)
        Whether or not entities managed by the ignored repository should have change details compiled at the time of edit. True by default.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object