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