Class Notification
java.lang.Object
com.adobe.cq.testing.client.notification.Notification
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNotification
(CQClient client, String id, String modification, String path, Date date, boolean isRead, boolean isUserMessage, String user) Notification
(com.fasterxml.jackson.databind.JsonNode jsonNotification) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getDate()
getId()
getPath()
getUser()
int
hashCode()
boolean
isRead()
boolean
void
void
void
setModification
(String modification) void
void
setRead
(boolean isRead) void
void
setUserMessage
(boolean isUserMessage)
-
Field Details
-
NOTIFICATION_COMMAND_APPROVE
- See Also:
-
NOTIFICATION_COMMAND_DELETE
- See Also:
-
id
-
modification
-
path
-
date
-
isRead
protected boolean isRead -
isUserMessage
protected boolean isUserMessage -
user
-
-
Constructor Details
-
Notification
public Notification(com.fasterxml.jackson.databind.JsonNode jsonNotification) -
Notification
-
-
Method Details
-
getId
- Returns:
- the id
-
setId
- Parameters:
id
- the id to set
-
getModification
- Returns:
- the modification
-
setModification
- Parameters:
modification
- the modification to set
-
getPath
- Returns:
- the path
-
setPath
- Parameters:
path
- the path to set
-
getDate
- Returns:
- the date
-
setDate
- 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
- Returns:
- the user
-
setUser
- Parameters:
user
- the user to set
-
hashCode
-
equals
-