Class RejectMapResponse


  • public class RejectMapResponse
    extends Object
    The result of a request to reject a previous promotion
    Author:
    Jeff Fischer
    • Constructor Detail

      • RejectMapResponse

        public RejectMapResponse​(Trackable userState)
    • Method Detail

      • withShouldArchiveAdvancedState

        public RejectMapResponse withShouldArchiveAdvancedState​(boolean shouldArchiveAdvancedState)
      • getAdvancedState

        public Trackable getAdvancedState()
        The resulting promotion sandbox state after any ChangeDetail instances have been removed, and the entity state updated to reflect the removal. This can be null in cases where the reject request resulted in the removal of all change details.
        Returns:
        The resulting promotion sandbox state after a reject request
      • getUserState

        public Trackable getUserState()
        The resulting user sandbox state after the reject request. The user state contains only changes related to the rejected promotion.
        Returns:
        The resulting user sandbox state after the reject request
      • isShouldArchiveAdvancedState

        public boolean isShouldArchiveAdvancedState()
      • setAdvancedState

        public void setAdvancedState​(Trackable advancedState)
        The resulting promotion sandbox state after any ChangeDetail instances have been removed, and the entity state updated to reflect the removal. This can be null in cases where the reject request resulted in the removal of all change details.
        Parameters:
        advancedState - The resulting promotion sandbox state after a reject request
      • setShouldArchiveAdvancedState

        public void setShouldArchiveAdvancedState​(boolean shouldArchiveAdvancedState)
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object