@Beta public class BusinessSituationChangedMessage extends AbstractMessage
Constructor and Description |
---|
BusinessSituationChangedMessage(String originalMessageContent,
CloudEventsMessageMetadata metadata,
Map<String,String> keyParameters,
Map<String,String> nonKeyParameters)
Creates a
BusinessSituationChangedMessage based on the fields contained in the message payload. |
Modifier and Type | Method and Description |
---|---|
CloudEventsMessageMetadata |
getMetadata()
Returns the metadata received with this message.
|
io.vavr.control.Option<String> |
getSituationDataContextId()
Getter for the non-key field SituationDataContextId value as String, as contained in the payload.
|
io.vavr.control.Option<String> |
getSituationDefinitionId()
Getter for the non-key field SituationDefinitionId value as String, as contained in the payload.
|
io.vavr.control.Option<String> |
getSituationInstanceActivityId()
Getter for the non-key field SituationInstanceActivityId value as String, as contained in the payload.
|
io.vavr.control.Option<String> |
getSituationInstanceId()
Getter for the key field SituationInstanceId value as String, as contained in the payload.
|
canEqual, equals, getContent, hashCode, toString
public BusinessSituationChangedMessage(@Nonnull String originalMessageContent, @Nonnull CloudEventsMessageMetadata metadata, @Nonnull Map<String,String> keyParameters, @Nonnull Map<String,String> nonKeyParameters)
BusinessSituationChangedMessage
based on the fields contained in the message payload.originalMessageContent
- The actual payload received.metadata
- The metadata of the received message.keyParameters
- The map contained in the payload.nonKeyParameters
- The map contained in the payload.@Nonnull public CloudEventsMessageMetadata getMetadata()
@Nonnull public io.vavr.control.Option<String> getSituationInstanceId()
The returned Option is empty if the message did not contain a value for this field.
Option
.@Nonnull public io.vavr.control.Option<String> getSituationDataContextId()
The returned Option is empty if the message did not contain a value for this field.
Option
.@Nonnull public io.vavr.control.Option<String> getSituationDefinitionId()
The returned Option is empty if the message did not contain a value for this field.
Option
.@Nonnull public io.vavr.control.Option<String> getSituationInstanceActivityId()
The returned Option is empty if the message did not contain a value for this field.
Option
.Copyright © 2019 SAP SE. All rights reserved.