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 String
NAME
-
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 boolean
isProcessable(PipelineContent content)
determines if the content is processable by the given parametersvoid
process(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:ContentProcessor
determines if the content is processable by the given parameters- Specified by:
isProcessable
in interfaceContentProcessor
- Overrides:
isProcessable
in classBaseContentProcessor
-
process
public void process(PipelineContent content, ResultTO result) throws ContentProcessException
Description copied from interface:ContentProcessor
process the content at the given path.- Specified by:
process
in interfaceContentProcessor
- Overrides:
process
in classBaseContentProcessor
- Parameters:
content
- content to processresult
- result to return- Throws:
ContentProcessException
-
-