Package ddf.catalog.plugin
Interface PostIngestPlugin
public interface PostIngestPlugin
Marker interface for services that wish to be called after any
CreateResponse, UpdateResponse, or DeleteResponse is about to be returned to an endpoint.- Author:
- Michael Menousek
-
Method Summary
Modifier and TypeMethodDescriptionprocess(CreateResponse input) Processes theCreateResponse.process(DeleteResponse input) Processes theDeleteResponse.process(UpdateResponse input) Processes theUpdateResponse.
-
Method Details
-
process
Processes theCreateResponse.- Parameters:
input- theCreateResponseto process- Returns:
- the value of the processed
CreateResponseto pass to the nextPostIngestPlugin, or if this is the lastPostIngestPluginto be called - Throws:
PluginExecutionException- thrown when an error occurs during processing
-
process
Processes theUpdateResponse.- Parameters:
input- theUpdateResponseto process- Returns:
- the value of the processed
UpdateResponseto pass to the nextPostIngestPlugin, or if this is the lastPostIngestPluginto be called - Throws:
PluginExecutionException- thrown when an error occurs during processing
-
process
Processes theDeleteResponse.- Parameters:
input- theDeleteResponseto process- Returns:
- the value of the processed
DeleteResponseto pass to the nextPostIngestPlugin, or if this is the lastPostIngestPluginto be called - Throws:
PluginExecutionException- thrown when an error occurs during processing
-