public class MetacardResourceStatus extends Object implements PostQueryPlugin
PostQueryPlugin that checks the ddf.catalog.cache.impl.ResourceCache for
existence of each Metacard's related Resource and adds an
Attribute to each Metacard in the QueryResponse.| Constructor and Description |
|---|
MetacardResourceStatus(ResourceCacheInterface cache) |
| Modifier and Type | Method and Description |
|---|---|
QueryResponse |
process(QueryResponse input)
Processes a
QueryResponse after the execution of the Query. |
public MetacardResourceStatus(ResourceCacheInterface cache)
public QueryResponse process(QueryResponse input) throws PluginExecutionException, StopProcessingException
PostQueryPluginQueryResponse after the execution of the Query.process in interface PostQueryPlugininput - the QueryResponse to processQueryResponse to pass to the next PostQueryPlugin, or if this is the last PostQueryPlugin to be calledPluginExecutionException - thrown when an error occurs while processing the QueryResponseStopProcessingException - thrown to halt processing when a critical issue occurs during
processing. This is intended to prevent other plugins from processing as well.This work is licensed under a Creative Commons Attribution 4.0 International License.