public class DummyPreIngestPlugin extends Object implements PreIngestPlugin
Constructor and Description |
---|
DummyPreIngestPlugin() |
Modifier and Type | Method and Description |
---|---|
int |
getPriority() |
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) . |
public int getPriority()
public CreateRequest process(CreateRequest input) throws PluginExecutionException
PreIngestPlugin
CreateRequest
prior to CatalogProvider.create(CreateRequest)
.process
in interface PreIngestPlugin
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 occurspublic UpdateRequest process(UpdateRequest input) throws PluginExecutionException
PreIngestPlugin
UpdateRequest
prior to CatalogProvider.update(UpdateRequest)
.process
in interface PreIngestPlugin
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 occurspublic DeleteRequest process(DeleteRequest input) throws PluginExecutionException
PreIngestPlugin
DeleteRequest
prior to the execution of the update operation.process
in interface PreIngestPlugin
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 occursThis work is licensed under a Creative Commons Attribution 4.0 International License.