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