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 ofNotificationHandler
andRetryHandler
. 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 boolean
canEqual(Object other)
boolean
equals(Object o)
Class<?>
getAssignableTo()
Class, interface or superclass that the target repository can be assigned toString
getMessageType()
The type of message the repository should be ignored for.int
hashCode()
boolean
isCompileChangeDetails()
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.String
toString()
IgnoredNotificationStateRepository
withCompileChangeDetails(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)
-
-