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 PreIngestPlugininput - the CreateRequest to processPluginExecutionExceptionStopProcessingExceptionpublic UpdateRequest process(UpdateRequest input) throws PluginExecutionException, StopProcessingException
process in interface PreIngestPlugininput - the UpdateRequest to processPluginExecutionExceptionStopProcessingExceptionpublic DeleteRequest process(DeleteRequest input) throws PluginExecutionException, StopProcessingException
PreIngestPluginDeleteRequest prior to the execution of the update operation.process in interface PreIngestPlugininput - 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 occursStopProcessingExceptionpublic void setMetacardMarshaller(MetacardMarshaller helper)
public void setRegistryIdPostIngestPlugin(RegistryIdPostIngestPlugin registryIdPostIngestPlugin)
This work is licensed under a Creative Commons Attribution 4.0 International License.