Class DmWorkflowProcessor
- java.lang.Object
-
- org.craftercms.studio.impl.v1.content.pipeline.BaseContentProcessor
-
- org.craftercms.studio.impl.v1.content.pipeline.DmWorkflowProcessor
-
- All Implemented Interfaces:
ContentProcessor
public class DmWorkflowProcessor extends BaseContentProcessor
-
-
Field Summary
Fields Modifier and Type Field Description static StringNAME-
Fields inherited from class org.craftercms.studio.impl.v1.content.pipeline.BaseContentProcessor
_name
-
-
Constructor Summary
Constructors Constructor Description DmWorkflowProcessor()default constructorDmWorkflowProcessor(String name)constructor that sets the process name
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisProcessable(PipelineContent content)determines if the content is processable by the given parametersvoidprocess(PipelineContent content, ResultTO result)process the content at the given path.-
Methods inherited from class org.craftercms.studio.impl.v1.content.pipeline.BaseContentProcessor
checkForMandatoryParam, getName, setName
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DmWorkflowProcessor
public DmWorkflowProcessor()
default constructor
-
DmWorkflowProcessor
public DmWorkflowProcessor(String name)
constructor that sets the process name- Parameters:
name-
-
-
Method Detail
-
isProcessable
public boolean isProcessable(PipelineContent content)
Description copied from interface:ContentProcessordetermines if the content is processable by the given parameters- Specified by:
isProcessablein interfaceContentProcessor- Overrides:
isProcessablein classBaseContentProcessor
-
process
public void process(PipelineContent content, ResultTO result) throws ContentProcessException
Description copied from interface:ContentProcessorprocess the content at the given path.- Specified by:
processin interfaceContentProcessor- Overrides:
processin classBaseContentProcessor- Parameters:
content- content to processresult- result to return- Throws:
ContentProcessException
-
-