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