blob: 20a18495ef0f353168a800134278896b12c5f065 [file] [log] [blame]
Stuart McCullochd00f9712009-07-13 10:06:47 +00001package aQute.bnd.service;
2
3import java.util.*;
4
5import aQute.lib.osgi.*;
6
7public interface MakePlugin {
8
9 /**
10 * This plugin is called when Include-Resource detects a reference to a resource
11 * that it can not find in the file system.
12 *
13 * @param builder The current builder
14 * @param source The source string (i.e. the place where bnd looked)
15 * @param arguments Any arguments on the clause in Include-Resource
16 * @return A resource or null if no resource could be made
17 * @throws Exception
18 */
19 Resource make(Builder builder, String source, Map<String,String> arguments) throws Exception;
20
21}