Class IgnoredNotificationStateRepository
- java.lang.Object
-
- com.broadleafcommerce.common.messaging.notification.IgnoredNotificationStateRepository
-
public class IgnoredNotificationStateRepository extends Object
Identify a repository that should not be included in the operation ofNotificationHandlerandRetryHandler. 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
Constructors Constructor Description IgnoredNotificationStateRepository(Class<?> assignableTo)IgnoredNotificationStateRepository(Class<?> assignableTo, String messageType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)Class<?>getAssignableTo()Class, interface or superclass that the target repository can be assigned toStringgetMessageType()The type of message the repository should be ignored for.inthashCode()booleanisCompileChangeDetails()Whether or not entities managed by the ignored repository should have change details compiled at the time of edit.voidsetCompileChangeDetails(boolean compileChangeDetails)Whether or not entities managed by the ignored repository should have change details compiled at the time of edit.voidsetMessageType(String messageType)The type of message the repository should be ignored for.StringtoString()IgnoredNotificationStateRepositorywithCompileChangeDetails(boolean compileChangeDetails)
-
-
-
Method Detail
-
withCompileChangeDetails
public IgnoredNotificationStateRepository withCompileChangeDetails(boolean compileChangeDetails)
-
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)
-
-