Class: ExtensionPoint
Defined in: | src/kermit/Crawler.ExtensionPoints.coffee |
Overview
Provide a mechanism to add functionality to the provider of the extension point (=> Crawler) Extension are containers for Extensions - grouping them by ProcessingPhase.
Extensions are invoked as part of the execution of their containing ExtensionPoint.
Instance Method Summary
- # (void) add(extension) Add an Extensions handler for the matching phase
- # (void) process(item) Bound Private Helper method to invoke all extensions for processing of a given item
Constructor Details
#
(void)
constructor(context, phase)
Construct an extension point
Instance Method Details
#
(void)
add(extension)
Add an Extensions handler for the matching phase
#
(void)
process(item)
Bound
Private
TODO:
Rename to invoke
Helper method to invoke all extensions for processing of a given item