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 boolean
boolean
int
getId()
getName()
int
hashCode()
boolean
isAcked()
boolean
void
setAcked
(boolean acked) void
setAttempts
(int attempts) void
setChangeTimestamp
(Instant changeTimestamp) void
setChangeTimestampAck
(Instant changeTimestampAck) void
void
setMessageType
(String messageType) void
setMessageValue
(String messageValue) void
void
setNextAttempt
(Instant nextAttempt) void
setStopped
(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:
getChangeTimestamp
in interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
getChangeTimestampAck
- Specified by:
getChangeTimestampAck
in interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
isAcked
public boolean isAcked()- Specified by:
isAcked
in interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
isStopped
public boolean isStopped()- Specified by:
isStopped
in interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
getAttempts
public int getAttempts()- Specified by:
getAttempts
in interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
getNextAttempt
- Specified by:
getNextAttempt
in interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
getName
- Specified by:
getName
in interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
getMessageType
- Specified by:
getMessageType
in interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
getMessageValue
- Specified by:
getMessageValue
in interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
getId
- Specified by:
getId
in interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
setChangeTimestamp
- Specified by:
setChangeTimestamp
in interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
setChangeTimestampAck
- Specified by:
setChangeTimestampAck
in interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
setAcked
public void setAcked(boolean acked) - Specified by:
setAcked
in interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
setStopped
public void setStopped(boolean stopped) - Specified by:
setStopped
in interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
setAttempts
public void setAttempts(int attempts) - Specified by:
setAttempts
in interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
setNextAttempt
- Specified by:
setNextAttempt
in interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
setName
- Specified by:
setName
in interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
setMessageType
- Specified by:
setMessageType
in interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
setMessageValue
- Specified by:
setMessageValue
in interfacecom.broadleafcommerce.common.messaging.notification.domain.NotificationState
-
setId
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-