@Beta public class InspectionLotCreatedMessage extends AbstractMessage
Constructor and Description |
---|
InspectionLotCreatedMessage(String originalMessageContent,
CloudEventsMessageMetadata metadata,
Map<String,String> keyParameters,
Map<String,String> nonKeyParameters)
Creates a
InspectionLotCreatedMessage based on the fields contained in the message payload. |
Modifier and Type | Method and Description |
---|---|
io.vavr.control.Option<String> |
getInspectionLot()
Getter for the key field InspectionLot value as String, as contained in the payload.
|
io.vavr.control.Option<String> |
getInspectionPlanOperationInternalId()
Getter for the non-key field InspectionPlanOperationInternalId value as String, as contained in the
payload.
|
io.vavr.control.Option<String> |
getInspectionSubsystem()
Getter for the non-key field InspectionSubsystem value as String, as contained in the payload.
|
CloudEventsMessageMetadata |
getMetadata()
Returns the metadata received with this message.
|
io.vavr.control.Option<String> |
getWorkCenterInternalId()
Getter for the non-key field WorkCenterInternalId value as String, as contained in the payload.
|
canEqual, equals, getContent, hashCode, toString
public InspectionLotCreatedMessage(@Nonnull String originalMessageContent, @Nonnull CloudEventsMessageMetadata metadata, @Nonnull Map<String,String> keyParameters, @Nonnull Map<String,String> nonKeyParameters)
InspectionLotCreatedMessage
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> getInspectionLot()
The returned Option is empty if the message did not contain a value for this field.
Option
.@Nonnull public io.vavr.control.Option<String> getInspectionSubsystem()
The returned Option is empty if the message did not contain a value for this field.
Option
.@Nonnull public io.vavr.control.Option<String> getWorkCenterInternalId()
The returned Option is empty if the message did not contain a value for this field.
Option
.@Nonnull public io.vavr.control.Option<String> getInspectionPlanOperationInternalId()
The returned Option is empty if the message did not contain a value for this field.
Option
.Copyright © 2019 SAP SE. All rights reserved.