@Beta public class Message extends Object
Sub-classes may expose information contained in the content
field in a type safe way.
Constructor and Description |
---|
Message(MessageTopic messageTopic,
String content) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getContent()
The content that was sent as the message.
|
MessageTopic |
getMessageTopic()
The topic this message was sent on.
|
int |
hashCode() |
String |
toString() |
public Message(MessageTopic messageTopic, String content)
public MessageTopic getMessageTopic()
public String getContent()
protected boolean canEqual(Object other)
Copyright © 2018 SAP SE. All rights reserved.