blob: 1a5b19a1633979c5c77e0a58a43973ab9d83053e [file] [log] [blame]
Stuart McCullochbb014372012-06-07 21:57:32 +00001package aQute.bnd.service;
2
3import aQute.lib.osgi.*;
4
5public interface AnalyzerPlugin {
6
Stuart McCulloch2286f232012-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 McCullochbb014372012-06-07 21:57:32 +000018
Stuart McCulloch2286f232012-06-15 13:27:53 +000019 boolean analyzeJar(Analyzer analyzer) throws Exception;
Stuart McCullochbb014372012-06-07 21:57:32 +000020}