@Beta public class LegalDocumentCreatedMessageFactory extends Object implements MessageFactory<LegalDocumentCreatedMessage>
MessageFactory
interface to encapsulate the creation of a
LegalDocumentCreatedMessage
.Constructor and Description |
---|
LegalDocumentCreatedMessageFactory() |
Modifier and Type | Method and Description |
---|---|
LegalDocumentCreatedMessage |
newMessage(String content)
Creates a new
LegalDocumentCreatedMessage with the content of the message content/payload. |
@Nonnull public LegalDocumentCreatedMessage newMessage(@Nonnull String content)
LegalDocumentCreatedMessage
with the content of the message content/payload.newMessage
in interface MessageFactory<LegalDocumentCreatedMessage>
content
- The content/payload of the message.Copyright © 2019 SAP SE. All rights reserved.