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