public class OnPathMatchConditionalProcessor extends AbstractPublishingProcessor
PublishingProcessor decorator that maps file path patterns to post processors, so if files of the change
set match a pattern, the corresponding post processor is called for those files| Modifier and Type | Field and Description |
|---|---|
protected Map<String[],PublishingProcessor> |
processorMappings |
name, orderSITE_NAME_PREVIEW| Constructor and Description |
|---|
OnPathMatchConditionalProcessor() |
| 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
|
String |
getName()
get the process's name
|
Map<String[],PublishingProcessor> |
getProcessorMappings() |
void |
setProcessorMappings(Map<String[],PublishingProcessor> processorMappings) |
getOrder, setBeanName, setOrderprotected Map<String[],PublishingProcessor> processorMappings
public Map<String[],PublishingProcessor> getProcessorMappings()
public void setProcessorMappings(Map<String[],PublishingProcessor> processorMappings)
public void doProcess(PublishedChangeSet changeSet, Map<String,String> parameters, org.craftercms.core.service.Context context, PublishingTarget target) throws PublishingException
PublishingProcessorPublishingExceptionpublic String getName()
PublishingProcessorgetName in interface PublishingProcessorgetName in class AbstractPublishingProcessorCopyright © 2017 CrafterCMS. All rights reserved.