public class PageAwareIncludeDescriptorsProcessor
extends org.craftercms.core.processors.impl.IncludeDescriptorsProcessor
IncludeDescriptorsProcessor that prevents pages from being included when disablePageInclusion is true.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
disablePageInclusion |
protected String |
pagesPathPattern |
| Constructor and Description |
|---|
PageAwareIncludeDescriptorsProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isIncludeDisabled(org.dom4j.Element includeElement) |
void |
setDisablePageInclusion(boolean disablePageInclusion) |
void |
setPagesPathPattern(String pagesPathPattern) |
doInclude, equals, getItemToInclude, hashCode, includeDescriptors, process, setContentStoreService, setDisabledIncludeNodeXPathQuery, setIncludedItemsProcessor, setIncludeElementXPathQuery, setRemoveIncludeElement, toStringprotected boolean disablePageInclusion
protected String pagesPathPattern
public PageAwareIncludeDescriptorsProcessor()
public void setDisablePageInclusion(boolean disablePageInclusion)
public void setPagesPathPattern(String pagesPathPattern)
protected boolean isIncludeDisabled(org.dom4j.Element includeElement)
isIncludeDisabled in class org.craftercms.core.processors.impl.IncludeDescriptorsProcessorCopyright © 2018 CrafterCMS. All rights reserved.