Package io.openraven.magpie.api
Interface OriginPlugin<T>
- Type Parameters:
T- The configuration object class to be passed into theMagpiePlugin.init(Object config, Logger logger)init} method. This is a developer-defined Jackson-serializable POJO and should be distributed with the plugin.
- All Superinterfaces:
MagpiePlugin<T>
OriginPlugin kicks off the discovery process and emits discovered assets via the supplied Emitter.
discover
is invoked once per session. An OriginPlugin may emit any number of assets by calling Emitter.emit
zero or more times.- Author:
- Jason Nichols (jason@openraven.com)
-
Method Summary
Methods inherited from interface io.openraven.magpie.api.MagpiePlugin
configType, id, init, shutdown
-
Method Details
-
discover
Kicks off the a discovery session.- Parameters:
session- The uniqueSessionfor this discovery session.emitter- The emitter used to pass discovered assets into the discovery pipeline.
-