public abstract class AbstractExcludeProcessor extends AbstractPublishingProcessor
PublishingProcessor that excludes files from indexing.| Modifier and Type | Field and Description |
|---|---|
protected PublishingProcessor |
actualProcessor
Actual processor to execute on the filtered files.
|
name, orderSITE_NAME_PREVIEW| Constructor and Description |
|---|
AbstractExcludeProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
copyFileList(List<String> files) |
void |
doProcess(PublishedChangeSet changeSet,
Map<String,String> parameters,
org.craftercms.core.service.Context context,
PublishingTarget target)
process files published
|
protected abstract 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.
|
protected void |
excludeFiles(org.craftercms.core.service.ContentStoreService contentStoreService,
org.craftercms.core.service.Context context,
List<String> files) |
void |
setActualProcessor(PublishingProcessor actualProcessor) |
getName, getOrder, setBeanName, setOrderprotected PublishingProcessor actualProcessor
public void setActualProcessor(PublishingProcessor actualProcessor)
protected abstract boolean excludeFile(org.craftercms.core.service.ContentStoreService contentStoreService,
org.craftercms.core.service.Context context,
String file)
file - protected void excludeFiles(org.craftercms.core.service.ContentStoreService contentStoreService,
org.craftercms.core.service.Context context,
List<String> files)
public void doProcess(PublishedChangeSet changeSet, Map<String,String> parameters, org.craftercms.core.service.Context context, PublishingTarget target) throws PublishingException
PublishingProcessorPublishingExceptionCopyright © 2017 CrafterCMS. All rights reserved.