Interface PostEnableResourceCallback


  • public interface PostEnableResourceCallback
    Callback which is called at the end of enabling a resource
    • Method Detail

      • execute

        ConnectorResponse execute​(String resourceIngestionDefinitionId)
        Callback which is called at the end of enabling a resource. If it returns a response with code different from OK, the ENABLE_RESOURCE procedure will return this error, but the enabling logic will not be rolled back.
        Parameters:
        resourceIngestionDefinitionId - id of a resource ingestion definition which is planned to be enabled
        Returns:
        a response with the code OK if the execution was successful, otherwise a response with an error code and an error message