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 Metacard
Metacard
to pass to the next PreDeliveryPlugin
, or if
this is the last PreDeliveryPlugin
to be called, the DeliveryMethod
PluginExecutionException
- 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
Subscription
update
- Update
to pass to the next PreDeliveryPlugin
, or if this is the
last PreDeliveryPlugin
to be called, the DeliveryMethod
PluginExecutionException
- 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 Subscription
update
- Update
to pass to the next PreDeliveryPlugin
, or if this is the
last PreDeliveryPlugin
to be called, the DeliveryMethod
PluginExecutionException
- 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 Metacard
Metacard
to pass to the next PreDeliveryPlugin
, or if this is the
last PreDeliveryPlugin
to be called, the DeliveryMethod
PluginExecutionException
- 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.