
aQute.bnd.service.Plugin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of biz.aQute.bndlib Show documentation
Show all versions of biz.aQute.bndlib Show documentation
bndlib: A Swiss Army Knife for OSGi
The newest version!
package aQute.bnd.service;
import java.util.Map;
import aQute.service.reporter.Reporter;
/**
* An optional interface for plugins. If a plugin implements this interface then
* it can receive the remaining attributes and directives given in its clause as
* well as the reporter to use.
*/
public interface Plugin {
/**
* Give the plugin the remaining properties. When a plugin is declared, the
* clause can contain extra properties. All the properties and directives
* are given to the plugin to use.
*
* @param map attributes and directives for this plugin's clause
* @throws Exception
*/
void setProperties(Map map) throws Exception;
/**
* Set the current reporter. This is called at init time. This plugin should
* report all errors and warnings to this reporter.
*
* @param processor
*/
void setReporter(Reporter processor);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy