Class WorkOrderOperationInsertedSpout
java.lang.Object
overit.geocall.event.producer.JsonSpout<WorkOrderOperationInsertPublishEvent,DTOWorkOrderOperationInsertedSpout>
overit.geocallapp.wfm.workorders.spout.operation.WorkOrderOperationInsertedSpout
- All Implemented Interfaces:
Spout<WorkOrderOperationInsertPublishEvent,DTOWorkOrderOperationInsertedSpout, String>
@Event(WorkOrderOperationInsertPublishEvent.class)
@Component
public class WorkOrderOperationInsertedSpout
extends JsonSpout<WorkOrderOperationInsertPublishEvent,DTOWorkOrderOperationInsertedSpout>
Spout for the event
WorkOrderOperationInsertPublishEvent to publish a DTOWorkOrderOperationInsertedSpout.- GCApi:
- spout
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionExtracts the payload from the given event using the provided PoolKit.
-
Constructor Details
-
WorkOrderOperationInsertedSpout
public WorkOrderOperationInsertedSpout()
-
-
Method Details
-
getPayload
public DTOWorkOrderOperationInsertedSpout getPayload(PoolKit pk, WorkOrderOperationInsertPublishEvent 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
-