Class Notification

java.lang.Object
com.adobe.cq.testing.client.notification.Notification

public class Notification extends Object
  • Field Details

    • NOTIFICATION_COMMAND_APPROVE

      public static final String NOTIFICATION_COMMAND_APPROVE
      See Also:
    • NOTIFICATION_COMMAND_DELETE

      public static final String NOTIFICATION_COMMAND_DELETE
      See Also:
    • id

      protected String id
    • modification

      protected String modification
    • path

      protected String path
    • date

      protected Date date
    • isRead

      protected boolean isRead
    • isUserMessage

      protected boolean isUserMessage
    • user

      protected String user
  • Constructor Details

    • Notification

      public Notification(com.fasterxml.jackson.databind.JsonNode jsonNotification)
    • Notification

      public Notification(CQClient client, String id, String modification, String path, Date date, boolean isRead, boolean isUserMessage, String user)
  • Method Details

    • getId

      public String getId()
      Returns:
      the id
    • setId

      public void setId(String id)
      Parameters:
      id - the id to set
    • getModification

      public String getModification()
      Returns:
      the modification
    • setModification

      public void setModification(String modification)
      Parameters:
      modification - the modification to set
    • getPath

      public String getPath()
      Returns:
      the path
    • setPath

      public void setPath(String path)
      Parameters:
      path - the path to set
    • getDate

      public Date getDate()
      Returns:
      the date
    • setDate

      public void setDate(Date date)
      Parameters:
      date - the date to set
    • isRead

      public boolean isRead()
      Returns:
      the isRead
    • setRead

      public void setRead(boolean isRead)
      Parameters:
      isRead - the isRead to set
    • isUserMessage

      public boolean isUserMessage()
      Returns:
      the isUserMessage
    • setUserMessage

      public void setUserMessage(boolean isUserMessage)
      Parameters:
      isUserMessage - the isUserMessage to set
    • getUser

      public String getUser()
      Returns:
      the user
    • setUser

      public void setUser(String user)
      Parameters:
      user - the user to set
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object