Interface PostCreateResourceCallback
-
public interface PostCreateResourceCallback
Callback which is called at the end of creating a resource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectorResponse
execute(String resourceIngestionDefinitionId)
Callback which is called at the end of creating a resource.
-
-
-
Method Detail
-
execute
ConnectorResponse execute(String resourceIngestionDefinitionId)
Callback which is called at the end of creating a resource. If it returns a response with code different from OK, the CREATE_RESOURCE procedure will return this error, but the creation logic will not be rolled back.- Parameters:
resourceIngestionDefinitionId
- id of a resource ingestion definition which has just been created- Returns:
- a response with the code
OK
if the execution was successful, otherwise a response with an error code and an error message
-
-