public class ExcludeByPathProcessor extends AbstractExcludeProcessor
PublishingProcessor decorator that excludes files based on the path patterns.| Modifier and Type | Field and Description |
|---|---|
protected String[] |
excludedPaths
Array of patterns to exclude.
|
actualProcessorname, orderSITE_NAME_PREVIEW| Constructor and Description |
|---|
ExcludeByPathProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
excludeFile(org.craftercms.core.service.ContentStoreService contentStoreService,
org.craftercms.core.service.Context context,
String file)
This method will define if a file is excluded or not.
|
String |
getName()
get the process's name
|
void |
setExcludedPaths(String[] excludedPaths) |
copyFileList, doProcess, excludeFiles, setActualProcessorgetOrder, setBeanName, setOrderprotected String[] excludedPaths
public void setExcludedPaths(String[] excludedPaths)
protected boolean excludeFile(org.craftercms.core.service.ContentStoreService contentStoreService,
org.craftercms.core.service.Context context,
String file)
AbstractExcludeProcessorexcludeFile in class AbstractExcludeProcessorpublic String getName()
PublishingProcessorgetName in interface PublishingProcessorgetName in class AbstractPublishingProcessorCopyright © 2017 CrafterCMS. All rights reserved.