Interface OriginPlugin<T>

Type Parameters:
T - The configuration object class to be passed into the MagpiePlugin.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. 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 Details

    • discover

      void discover(Session session, Emitter emitter)
      Kicks off the a discovery session.
      Parameters:
      session - The unique Session for this discovery session.
      emitter - The emitter used to pass discovered assets into the discovery pipeline.