Class ChangeNotificationState
java.lang.Object
com.broadleafcommerce.sandbox.domain.tracking.ChangeNotificationState
- All Implemented Interfaces:
com.broadleafcommerce.common.messaging.notification.domain.NotificationState,Serializable
public class ChangeNotificationState
extends Object
implements com.broadleafcommerce.common.messaging.notification.domain.NotificationState, Serializable
The Sandbox Microservice's own specific implementation of
NotificationState, independent
of database provider.- Author:
- Jeff Fischer
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionChangeNotificationState(com.broadleafcommerce.common.messaging.notification.domain.NotificationState notificationState) ChangeNotificationState(Instant changeTimestamp, Instant changeTimestampAck, boolean acked, boolean stopped, int attempts, Instant nextAttempt, String name, String messageType, String messageValue) ChangeNotificationState(Instant changeTimestamp, Instant changeTimestampAck, boolean acked, boolean stopped, int attempts, Instant nextAttempt, String name, String messageType, String messageValue, String id) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintgetId()getName()inthashCode()booleanisAcked()booleanvoidsetAcked(boolean acked) voidsetAttempts(int attempts) voidsetChangeTimestamp(Instant changeTimestamp) voidsetChangeTimestampAck(Instant changeTimestampAck) voidvoidsetMessageType(String messageType) voidsetMessageValue(String messageValue) voidvoidsetNextAttempt(Instant nextAttempt) voidsetStopped(boolean stopped) toString()
-
Constructor Details
-
ChangeNotificationState
public ChangeNotificationState() -
ChangeNotificationState
public ChangeNotificationState(com.broadleafcommerce.common.messaging.notification.domain.NotificationState notificationState) -
ChangeNotificationState
-
ChangeNotificationState
-
-
Method Details
-
getChangeTimestamp
- Specified by:
getChangeTimestampin interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
getChangeTimestampAck
- Specified by:
getChangeTimestampAckin interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
isAcked
public boolean isAcked()- Specified by:
isAckedin interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
isStopped
public boolean isStopped()- Specified by:
isStoppedin interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
getAttempts
public int getAttempts()- Specified by:
getAttemptsin interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
getNextAttempt
- Specified by:
getNextAttemptin interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
getName
- Specified by:
getNamein interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
getMessageType
- Specified by:
getMessageTypein interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
getMessageValue
- Specified by:
getMessageValuein interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
getId
- Specified by:
getIdin interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
setChangeTimestamp
- Specified by:
setChangeTimestampin interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
setChangeTimestampAck
- Specified by:
setChangeTimestampAckin interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
setAcked
public void setAcked(boolean acked) - Specified by:
setAckedin interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
setStopped
public void setStopped(boolean stopped) - Specified by:
setStoppedin interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
setAttempts
public void setAttempts(int attempts) - Specified by:
setAttemptsin interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
setNextAttempt
- Specified by:
setNextAttemptin interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
setName
- Specified by:
setNamein interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
setMessageType
- Specified by:
setMessageTypein interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
setMessageValue
- Specified by:
setMessageValuein interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
setId
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-