public class DummyPreDeliveryPlugin extends Object implements PreDeliveryPlugin
| Constructor and Description |
|---|
DummyPreDeliveryPlugin() |
| 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 |
public Metacard processCreate(Metacard metacard) throws PluginExecutionException, StopProcessingException
PreDeliveryPluginMetacard has createdprocessCreate in interface PreDeliveryPluginmetacard - - 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 occurpublic Update processUpdateMiss(Update update) throws PluginExecutionException, StopProcessingException
PreDeliveryPluginMetacard has been updated and only the old version matches a
SubscriptionprocessUpdateMiss in interface PreDeliveryPluginUpdate 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 occurpublic Update processUpdateHit(Update update) throws PluginExecutionException, StopProcessingException
PreDeliveryPluginMetacard has been updated and the new version matches a Subscription. The old version may or may not match the SubscriptionprocessUpdateHit in interface PreDeliveryPluginUpdate 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 occurpublic Metacard processDelete(Metacard metacard) throws PluginExecutionException, StopProcessingException
PreDeliveryPluginMetacard has been deletedprocessDelete in interface PreDeliveryPluginmetacard - - 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.