Interface PostUpdateResourceCallback


  • public interface PostUpdateResourceCallback
    Callback which is called at the end of updating a resource
    • Method Detail

      • execute

        ConnectorResponse execute​(String resourceIngestionDefinitionId,
                                  List<IngestionConfiguration<Variant,​Variant>> ingestionConfigurations)
        Callback which is called at the end of updating a resource. If it returns a response with code different from OK, the UPDATE_RESOURCE procedure will return this error, but the update logic will not be rolled back.
        Parameters:
        resourceIngestionDefinitionId - id of Resource Ingestion Definition
        ingestionConfigurations - updated Resource Ingestion Configuration
        Returns:
        a response with the code OK if the execution was successful, otherwise a response with an error code and an error message