@OpenApi
public abstract class AbstractNotification
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
void |
addHRefAction(HRefRunnable r)
Adds href action to list of already existing list of actions.
|
HRefRunnable |
getHRefAction(java.lang.String href)
Gets href action with a given href.
|
java.lang.String |
getID()
Returns notification id.
|
java.lang.String |
getLongText()
Returns long notification text
|
java.lang.String |
getText()
Returns notification message text.
|
java.lang.String |
getTitle()
Returns notification title.
|
void |
removeHRefAction(HRefRunnable r)
Removes given href action.
|
void |
removeHRefAction(java.lang.String href)
Removes given href action with specified href id.
|
void |
setLongText(java.lang.String longText)
Sets notification long text
|
void |
setText(java.lang.String text)
Sets notification message text.
|
void |
setTitle(java.lang.String title)
Sets notification title.
|
@OpenApi public java.lang.String getID()
@OpenApi public java.lang.String getTitle()
@OpenApi public void setTitle(java.lang.String title)
title
- notification title@OpenApi public java.lang.String getText()
@OpenApi public void setText(java.lang.String text)
text
- notification text@OpenApi public java.lang.String getLongText()
@OpenApi public void setLongText(@CheckForNull java.lang.String longText)
longText
- notification long text@OpenApi public void addHRefAction(HRefRunnable r)
r
- given href action@OpenApi public void removeHRefAction(HRefRunnable r)
r
- href action to remove@OpenApi public void removeHRefAction(java.lang.String href)
href
- href id to remove from href list@OpenApi public HRefRunnable getHRefAction(java.lang.String href)
href
- action href