Class ContentProcessorPipelineImpl
java.lang.Object
org.craftercms.studio.impl.v1.content.pipeline.ContentProcessorPipelineImpl
- All Implemented Interfaces:
ContentProcessorPipeline
Implementation of ContentProcessorPipeline that runs the content give through the pipeline
- Author:
- hyanghee
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<ContentProcessor> a chain of processors to run content through -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprocessContent(PipelineContent content, ResultTO result) process the given content through the executors chainvoidsetChain(List<ContentProcessor> chain)
-
Field Details
-
_chain
a chain of processors to run content through
-
-
Constructor Details
-
ContentProcessorPipelineImpl
public ContentProcessorPipelineImpl()
-
-
Method Details
-
processContent
public void processContent(PipelineContent content, ResultTO result) throws ServiceLayerException, UserNotFoundException Description copied from interface:ContentProcessorPipelineprocess the given content through the executors chain- Specified by:
processContentin interfaceContentProcessorPipeline- Parameters:
content-result-- Throws:
ServiceLayerExceptionUserNotFoundException
-
setChain
- Parameters:
chain- the chain to set
-