public interface PreIngestPlugin
Metacard
s need to be validated prior to CatalogProvider.create(CreateRequest)
a PreIngestPlugin
can do the
validation.Metacard
Modifier and Type | Method and Description |
---|---|
CreateRequest |
process(CreateRequest input)
Process a
CreateRequest prior to CatalogProvider.create(CreateRequest) . |
DeleteRequest |
process(DeleteRequest input)
Processes the
DeleteRequest prior to the execution of the update operation. |
UpdateRequest |
process(UpdateRequest input)
Process a
UpdateRequest prior to CatalogProvider.update(UpdateRequest) . |
CreateRequest process(CreateRequest input) throws PluginExecutionException, StopProcessingException
CreateRequest
prior to CatalogProvider.create(CreateRequest)
.input
- the CreateRequest
to processCreateRequest
to pass to the next PreIngestPlugin
, or to the CatalogProvider
if this is the last
PreIngestPlugin
to be calledPluginExecutionException
- if an error in processing occursStopProcessingException
UpdateRequest process(UpdateRequest input) throws PluginExecutionException, StopProcessingException
UpdateRequest
prior to CatalogProvider.update(UpdateRequest)
.input
- the UpdateRequest
to processUpdateRequest
to pass to the next PreIngestPlugin
, or to the CatalogProvider
if this is the last
PreIngestPlugin
to be calledPluginExecutionException
- if an error in processing occursStopProcessingException
DeleteRequest process(DeleteRequest input) throws PluginExecutionException, StopProcessingException
DeleteRequest
prior to the execution of the update operation.input
- the DeleteRequest
to processDeleteRequest
to pass to the next PreIngestPlugin
, or if this is the last PreIngestPlugin
to be calledPluginExecutionException
- thrown when an error in processing occursStopProcessingException
This work is licensed under a Creative Commons Attribution 4.0 International License.