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