blob: 9c3e51d743465efc978b13839d23579767331c7a [file] [log] [blame]
Stuart McCullochf3173222012-06-07 21:57:32 +00001package aQute.bnd.service;
2
Stuart McCulloch42151ee2012-07-16 13:43:38 +00003import aQute.bnd.osgi.*;
Stuart McCullochf3173222012-06-07 21:57:32 +00004
5public interface AnalyzerPlugin {
6
Stuart McCulloch4482c702012-06-15 13:27:53 +00007 /**
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 McCullochf3173222012-06-07 21:57:32 +000018
Stuart McCulloch4482c702012-06-15 13:27:53 +000019 boolean analyzeJar(Analyzer analyzer) throws Exception;
Stuart McCullochf3173222012-06-07 21:57:32 +000020}