public class PathMatchProcessor extends BaseContentProcessor
Modifier and Type | Field and Description |
---|---|
protected List<String> |
_matchPaths
a list of paths to match on
|
protected List<String> |
_unmatchPaths
a list of paths not to match on
|
static String |
NAME |
_name
Constructor and Description |
---|
PathMatchProcessor()
default constructor
|
PathMatchProcessor(String name)
constructor that sets the process name
|
Modifier and Type | Method and Description |
---|---|
boolean |
isProcessable(PipelineContent content)
determines if the content is processable by the given parameters
|
void |
setMatchPaths(List<String> matchPaths) |
void |
setUnmatchPaths(List<String> unmatchPaths) |
checkForMandatoryParam, getName, process, setName
public static final String NAME
public PathMatchProcessor()
public PathMatchProcessor(String name)
name
- public void setMatchPaths(List<String> matchPaths)
matchPaths
- the matchPaths to setpublic void setUnmatchPaths(List<String> unmatchPaths)
unmatchPaths
- the unmatchPaths to setpublic boolean isProcessable(PipelineContent content)
ContentProcessor
isProcessable
in interface ContentProcessor
isProcessable
in class BaseContentProcessor
Copyright © 2020 CrafterCMS. All rights reserved.