|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EnhancementJobManager
Accept requests for enhancing ContentItems, and processes them either
synchronously or asynchronously (as decided by the enhancement engines,
the job manager implementation, the execution plan provided by the
Chain or by some additional configurations).
The progress of the enhancement process should be made accessible in the ContentItem's metadata.
| Method Summary | |
|---|---|
void |
enhanceContent(ContentItem ci)
Enhances the parsed contentItem by using the default enhancement Chain. |
void |
enhanceContent(ContentItem ci,
Chain chain)
Processes the parsed ContentItem by using the
execution plan provided by the
Chain. |
java.util.List<EnhancementEngine> |
getActiveEngines()
Deprecated. use the EnhancementEngineManager to get information
about currently active Engines and the ChainManager to get active
chains. This method will now return active engines of the default chain. |
| Method Detail |
|---|
void enhanceContent(ContentItem ci)
throws EnhancementException
Store#put(ContentItem) afterwards in case persistence is
required.
TODO: define the expected semantics if asynchronous enhancements were to get implemented.
EnhancementException - if the enhancement process failed
void enhanceContent(ContentItem ci,
Chain chain)
throws EnhancementException
ContentItem by using the
execution plan provided by the
Chain.
ci - : ContentItem to be enhancedchain - : The enhancement Chain used to process the content item
EnhancementException - : if an Engine required by the Chain fails to
process the ContentItem
ChainException - : if the enhancement process failed@Deprecated java.util.List<EnhancementEngine> getActiveEngines()
EnhancementEngineManager to get information
about currently active Engines and the ChainManager to get active
chains. This method will now return active engines of the default chain.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||