Class ContentProcessorPipelineImpl
- java.lang.Object
-
- org.craftercms.studio.impl.v1.content.pipeline.ContentProcessorPipelineImpl
-
- All Implemented Interfaces:
ContentProcessorPipeline
public class ContentProcessorPipelineImpl extends Object implements ContentProcessorPipeline
Implementation of ContentProcessorPipeline that runs the content give through the pipeline- Author:
- hyanghee
-
-
Field Summary
Fields Modifier and Type Field Description protected List<ContentProcessor>
_chain
a chain of processors to run content through
-
Constructor Summary
Constructors Constructor Description ContentProcessorPipelineImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
processContent(PipelineContent content, ResultTO result)
process the given content through the executors chainvoid
setChain(List<ContentProcessor> chain)
-
-
-
Field Detail
-
_chain
protected List<ContentProcessor> _chain
a chain of processors to run content through
-
-
Method Detail
-
processContent
public void processContent(PipelineContent content, ResultTO result) throws ContentProcessException, SiteNotFoundException
Description copied from interface:ContentProcessorPipeline
process the given content through the executors chain- Specified by:
processContent
in interfaceContentProcessorPipeline
- Throws:
ContentProcessException
SiteNotFoundException
-
setChain
public void setChain(List<ContentProcessor> chain)
- Parameters:
chain
- the chain to set
-
-