Stuart McCulloch | bb01437 | 2012-06-07 21:57:32 +0000 | [diff] [blame] | 1 | package aQute.bnd.service; |
| 2 | |
| 3 | import aQute.lib.osgi.*; |
| 4 | |
| 5 | public interface AnalyzerPlugin { |
| 6 | |
Stuart McCulloch | 2286f23 | 2012-06-15 13:27:53 +0000 | [diff] [blame] | 7 | /** |
| 8 | * This plugin is called after analysis. The plugin is free to modify the |
| 9 | * jar and/or change the classpath information (see referred, contained). |
| 10 | * This plugin is called after analysis of the JAR but before manifest |
| 11 | * generation. |
| 12 | * |
| 13 | * @param analyzer |
| 14 | * @return true if the classpace has been modified so that the bundle |
| 15 | * classpath must be reanalyzed |
| 16 | * @throws Exception |
| 17 | */ |
Stuart McCulloch | bb01437 | 2012-06-07 21:57:32 +0000 | [diff] [blame] | 18 | |
Stuart McCulloch | 2286f23 | 2012-06-15 13:27:53 +0000 | [diff] [blame] | 19 | boolean analyzeJar(Analyzer analyzer) throws Exception; |
Stuart McCulloch | bb01437 | 2012-06-07 21:57:32 +0000 | [diff] [blame] | 20 | } |