Class PathMatchProcessor
java.lang.Object
org.craftercms.studio.impl.v1.content.pipeline.BaseContentProcessor
org.craftercms.studio.impl.v1.content.pipeline.PathMatchProcessor
- All Implemented Interfaces:
ContentProcessor
- Direct Known Subclasses:
CheckImageSizeProcessor,ContentLifeCycleProcessor,ExtractDependencyProcessor,FormDmContentProcessor
-
Field Summary
FieldsModifier and TypeFieldDescriptiona list of paths to match ona list of paths not to match onstatic final StringFields inherited from class org.craftercms.studio.impl.v1.content.pipeline.BaseContentProcessor
_name -
Constructor Summary
ConstructorsConstructorDescriptiondefault constructorPathMatchProcessor(String name) constructor that sets the process name -
Method Summary
Modifier and TypeMethodDescriptionbooleanisProcessable(PipelineContent content) determines if the content is processable by the given parametersvoidsetMatchPaths(List<String> matchPaths) voidsetUnmatchPaths(List<String> unmatchPaths) Methods inherited from class org.craftercms.studio.impl.v1.content.pipeline.BaseContentProcessor
checkForMandatoryParam, getName, process, setName
-
Field Details
-
NAME
- See Also:
-
_matchPaths
a list of paths to match on -
_unmatchPaths
a list of paths not to match on
-
-
Constructor Details
-
PathMatchProcessor
public PathMatchProcessor()default constructor -
PathMatchProcessor
constructor that sets the process name- Parameters:
name-
-
-
Method Details
-
setMatchPaths
- Parameters:
matchPaths- the matchPaths to set
-
setUnmatchPaths
- Parameters:
unmatchPaths- the unmatchPaths to set
-
isProcessable
Description copied from interface:ContentProcessordetermines if the content is processable by the given parameters- Specified by:
isProcessablein interfaceContentProcessor- Overrides:
isProcessablein classBaseContentProcessor- Parameters:
content-
-