Class IgnoredNotificationStateRepository
java.lang.Object
com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository
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 Summary
ConstructorsConstructorDescriptionIgnoredNotificationStateRepository
(Class<?> assignableTo) IgnoredNotificationStateRepository
(Class<?> assignableTo, String messageType) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Class<?>
Class, interface or superclass that the target repository can be assigned toThe type of message the repository should be ignored for.int
hashCode()
boolean
Whether or not entities managed by the ignored repository should have change details compiled at the time of edit.void
setCompileChangeDetails
(boolean compileChangeDetails) Whether or not entities managed by the ignored repository should have change details compiled at the time of edit.void
setMessageType
(String messageType) The type of message the repository should be ignored for.toString()
withCompileChangeDetails
(boolean compileChangeDetails)
-
Constructor Details
-
IgnoredNotificationStateRepository
-
IgnoredNotificationStateRepository
-
-
Method Details
-
withCompileChangeDetails
-
getAssignableTo
Class, interface or superclass that the target repository can be assigned to -
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
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. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-