blob: 22dae7a9571627064ba8187a2b1a56b0354677ab [file] [log] [blame]
Stuart McCulloch26e7a5a2011-10-17 10:31:43 +00001package aQute.lib.deployer.obr;
2
3public interface IResourceListener {
4 /**
5 * Process an OBR resource descriptor from the index document, and possibly
6 * request early termination of the parser.
7 *
8 * @param resource
9 * The resource descriptor to be processed.
10 * @return Whether to continue parsing the document; returning {@code false}
11 * will result in the parser being stopped with a
12 * {@link StopParseException}.
13 */
14 boolean processResource(Resource resource);
15}