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