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