public interface PreDeliveryPlugin
| Modifier and Type | Method and Description |
|---|---|
Metacard |
processCreate(Metacard metacard)
Callback invoked when a
Metacard has created |
Metacard |
processDelete(Metacard metacard)
Callback invoked when a
Metacard has been deleted |
Update |
processUpdateHit(Update update)
Callback invoked when a
Metacard has been updated and the new version matches a Subscription. |
Update |
processUpdateMiss(Update update)
Callback invoked when a
Metacard has been updated and only the old version matches a
Subscription |
Metacard processCreate(Metacard metacard) throws PluginExecutionException, StopProcessingException
Metacard has createdmetacard - - the newly created MetacardMetacard to pass to the next PreDeliveryPlugin, or if
this is the last PreDeliveryPlugin to be called, the DeliveryMethodPluginExecutionException - if there is a problem evaluating the update but processing
should continueStopProcessingException - if this Catalog Plugin will not allow the current notification
to occurUpdate processUpdateMiss(Update update) throws PluginExecutionException, StopProcessingException
Metacard has been updated and only the old version matches a
Subscriptionupdate - Update to pass to the next PreDeliveryPlugin, or if this is the
last PreDeliveryPlugin to be called, the DeliveryMethodPluginExecutionException - if there is a problem evaluating the update but processing
should continueStopProcessingException - if this Catalog Plugin will not allow the current notification
to occurUpdate processUpdateHit(Update update) throws PluginExecutionException, StopProcessingException
Metacard has been updated and the new version matches a Subscription. The old version may or may not match the Subscriptionupdate - Update to pass to the next PreDeliveryPlugin, or if this is the
last PreDeliveryPlugin to be called, the DeliveryMethodPluginExecutionException - if there is a problem evaluating the update but processing
should continueStopProcessingException - if this Catalog Plugin will not allow the current notification
to occurMetacard processDelete(Metacard metacard) throws PluginExecutionException, StopProcessingException
Metacard has been deletedmetacard - - the deleted MetacardMetacard to pass to the next PreDeliveryPlugin, or if this is the
last PreDeliveryPlugin to be called, the DeliveryMethodPluginExecutionException - if there is a problem evaluating the update but processing
should continueStopProcessingException - if this Catalog Plugin will not allow the current notification
to occurThis work is licensed under a Creative Commons Attribution 4.0 International License.