Interface StoryMessage
- All Superinterfaces:
Message
An instance of StoryMessage
represents a news story.
An object implementing this interface can not be instantiated directly, but can be constructed
using the MessageFactory
that is available on the
Publisher
interface.
Note: After publishing a message, do not reuse the message (e.g. change the content, republish) as this can cause issues.
-
Method Summary
Methods inherited from interface com.caplin.datasource.messaging.Message
getMessageType, getSubject, isImage, setImage
-
Method Details
-
getText
String getText()Gets the text of the news story.
- Returns:
- The text.
-