Class WorkOrderOperationStatusUpdatedSpout
java.lang.Object
overit.geocall.event.producer.JsonSpout<WorkOrderOperationStatusPublishEvent,DTOWorkOrderOperationStatusUpdatedSpout>
overit.geocallapp.wfm.workorders.spout.operation.WorkOrderOperationStatusUpdatedSpout
- All Implemented Interfaces:
Spout<WorkOrderOperationStatusPublishEvent,DTOWorkOrderOperationStatusUpdatedSpout, String>
@Event(WorkOrderOperationStatusPublishEvent.class)
@Component
public class WorkOrderOperationStatusUpdatedSpout
extends JsonSpout<WorkOrderOperationStatusPublishEvent,DTOWorkOrderOperationStatusUpdatedSpout>
Spout for the event
WorkOrderOperationStatusPublishEvent to publish a
DTOWorkOrderOperationStatusUpdatedSpout.- GCApi:
- spout
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionExtracts the payload from the given event using the provided PoolKit.
-
Constructor Details
-
WorkOrderOperationStatusUpdatedSpout
public WorkOrderOperationStatusUpdatedSpout()
-
-
Method Details
-
getPayload
public DTOWorkOrderOperationStatusUpdatedSpout getPayload(PoolKit pk, WorkOrderOperationStatusPublishEvent event) Description copied from interface:SpoutExtracts the payload from the given event using the provided PoolKit.- Parameters:
pk- the PoolKit instance used for database operationsevent- the event from which to extract the payload- Returns:
- the extracted payload of type P
-