Interface IPollingHooks
public interface IPollingHooks
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterRevert
(UUID sagaEventId, String replyIdentifier) This method is invoked if the (successful) reply belongs to a revert event, after the revert entry is stored in the compliance database.void
This method is invoked when the polling service has saved compliance reply into the compliance database.The repository id (SeeIComplianceRepositoryInfo
).
-
Method Details
-
afterStorage
This method is invoked when the polling service has saved compliance reply into the compliance database.- Parameters:
reply
- the compliance reply that was persisted
-
afterRevert
This method is invoked if the (successful) reply belongs to a revert event, after the revert entry is stored in the compliance database.- Parameters:
sagaEventId
- the id of the event that was revertedreplyIdentifier
- the id of the message in the external repository
-
getComplianceRepositoryId
String getComplianceRepositoryId()The repository id (SeeIComplianceRepositoryInfo
).- Returns:
- the repository identifier as a String
-