public class IdentificationPlugin extends Object implements PreIngestPlugin
Constructor and Description |
---|
IdentificationPlugin(UuidGenerator uuidGenerator) |
Modifier and Type | Method and Description |
---|---|
CreateRequest |
process(CreateRequest input)
For registry metacards updates the tags and identifiers
|
DeleteRequest |
process(DeleteRequest input)
Processes the
DeleteRequest prior to the execution of the update operation. |
UpdateRequest |
process(UpdateRequest input)
For registry metacards verifies the update should take place by checking that the update
metacard is at least as up to date as the existing one.
|
void |
setMetacardMarshaller(MetacardMarshaller helper) |
void |
setRegistryIdPostIngestPlugin(RegistryIdPostIngestPlugin registryIdPostIngestPlugin) |
public IdentificationPlugin(UuidGenerator uuidGenerator)
public CreateRequest process(CreateRequest input) throws PluginExecutionException, StopProcessingException
process
in interface PreIngestPlugin
input
- the CreateRequest
to processPluginExecutionException
StopProcessingException
public UpdateRequest process(UpdateRequest input) throws PluginExecutionException, StopProcessingException
process
in interface PreIngestPlugin
input
- the UpdateRequest
to processPluginExecutionException
StopProcessingException
public DeleteRequest process(DeleteRequest input) throws PluginExecutionException, StopProcessingException
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 occursStopProcessingException
public void setMetacardMarshaller(MetacardMarshaller helper)
public void setRegistryIdPostIngestPlugin(RegistryIdPostIngestPlugin registryIdPostIngestPlugin)
This work is licensed under a Creative Commons Attribution 4.0 International License.