aQute.lib.deployer.obr
Interface IRepositoryListener
public interface IRepositoryListener
Method Summary |
boolean |
processReferral(String parentUrl,
Referral referral,
int maxDepth,
int currentDepth)
Process an OBR referral |
boolean |
processResource(Resource resource)
Process an OBR resource descriptor from the index document, and possibly
request early termination of the parser. |
processResource
boolean processResource(Resource resource)
- Process an OBR resource descriptor from the index document, and possibly
request early termination of the parser.
- Parameters:
resource
- The resource descriptor to be processed.
- Returns:
- Whether to continue parsing the document; returning
false
will result in the parser being stopped with a
StopParseException
.
processReferral
boolean processReferral(String parentUrl,
Referral referral,
int maxDepth,
int currentDepth)
- Process an OBR referral
- Parameters:
parentUrl
- The url of the Repository that referred to this Referralreferral
- The referral to be processedmaxDepth
- The depth of referrals this repository acknowledges.currentDepth
- The current depth
- Returns:
- Whether to continue parsing the document; returning
false
will result in the parser being stopped with a
StopParseException
.
Copyright © 2012 aQute SARL. All Rights Reserved.