Interface PreUpdateResourceCallback


  • public interface PreUpdateResourceCallback
    Callback that is called before executing the main logic of resource updating procedure
    • Method Detail

      • execute

        ConnectorResponse execute​(String resourceIngestionDefinitionId,
                                  List<IngestionConfiguration<Variant,​Variant>> ingestionConfigurations)
        Callback which is called before executing the main logic of resource updating procedure and after validation step. If it returns a response with code different from OK, the update logic will not be executed and UPDATE_RESOURCE procedure will return this error.
        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