Stuart McCulloch | f6a3e7b | 2009-07-13 10:06:47 +0000 | [diff] [blame] | 1 | package aQute.bnd.service; |
| 2 | |
| 3 | import java.util.*; |
| 4 | |
| 5 | import aQute.lib.osgi.*; |
| 6 | |
| 7 | public 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 | } |