aQute.bnd.service.MakePlugin Maven / Gradle / Ivy
The newest version!
package aQute.bnd.service;
import java.util.Map;
import aQute.bnd.osgi.Builder;
import aQute.bnd.osgi.Resource;
public interface MakePlugin {
/**
* This plugin is called when Include-Resource detects a reference to a
* resource that it can not find in the file system.
*
* @param builder The current builder
* @param source The source string (i.e. the place where bnd looked)
* @param arguments Any arguments on the clause in Include-Resource
* @return A resource or null if no resource could be made
* @throws Exception
*/
Resource make(Builder builder, String source, Map arguments) throws Exception;
}