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>
public interface OriginPlugin<T> extends MagpiePlugin<T>
OriginPlugin kicks off the discovery process and emits discovered assets via the supplied Emitter.discoveris invoked once per session. An OriginPlugin may emit any number of assets by callingEmitter.emitzero or more times.- Author:
- Jason Nichols (jason@openraven.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddiscover(Session session, Emitter emitter)Kicks off the a discovery session.-
Methods inherited from interface io.openraven.magpie.api.MagpiePlugin
configType, id, init, shutdown
-
-