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