Class DeferredMetaExtractionPlugin

java.lang.Object
org.hansken.plugin.extraction.api.DeferredMetaExtractionPlugin
All Implemented Interfaces:
BaseExtractionPlugin, DeferredExtractionPlugin

public abstract class DeferredMetaExtractionPlugin extends Object implements DeferredExtractionPlugin
Deferred meta extraction plugins can be used by Hansken to process traces during the extraction process. A processed trace can be enriched with new information and new child traces can also be created.

The difference between this and a normal ExtractionPlugin is that this plugin is able to run a secondary query for traces and combine the results with previously retrieved traces, and that this plugin does not receive or process any data, only a trace itself.

When a plugin matches on the trace which is currently processed by Hansken (for example, because it has certain properties), the plugin will receive the matched trace in order to process it (see process(Trace, TraceSearcher)).

Note for Hansken core developers: specifying 'meta' in the matcher is not necessary, the framework takes care of this.