Class AssetInsertedSpout
java.lang.Object
overit.geocall.event.producer.JsonSpout<AssetInsertedPublishEvent,DTOAssetInsertedSpout>
overit.geocallapp.wfm.assets.spout.asset.AssetInsertedSpout
- All Implemented Interfaces:
Spout<AssetInsertedPublishEvent,DTOAssetInsertedSpout, String>
@Event(AssetInsertedPublishEvent.class)
@Component
public class AssetInsertedSpout
extends JsonSpout<AssetInsertedPublishEvent,DTOAssetInsertedSpout>
Spout for the event
AssetInsertedPublishEvent to publish a
DTOAssetInsertedSpout.- Since:
- 21.0
- GCApi:
- spout
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPayload(PoolKit pk, AssetInsertedPublishEvent event) Extracts the payload from the given event using the provided PoolKit.
-
Constructor Details
-
AssetInsertedSpout
public AssetInsertedSpout()
-
-
Method Details
-
getPayload
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
-