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 String
Fields 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 TypeMethodDescriptionboolean
isProcessable
(PipelineContent content) determines if the content is processable by the given parametersvoid
setMatchPaths
(List<String> matchPaths) void
setUnmatchPaths
(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:ContentProcessor
determines if the content is processable by the given parameters- Specified by:
isProcessable
in interfaceContentProcessor
- Overrides:
isProcessable
in classBaseContentProcessor
- Parameters:
content
-
-