public class ContextImpl extends Object implements Context
Context implementation.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
cacheOn |
protected String |
id |
protected boolean |
ignoreHiddenFiles |
protected int |
maxAllowedItemsInCache |
protected boolean |
mergingOn |
protected String |
rootFolderPath |
protected ContentStoreAdapter |
storeAdapter |
protected String |
storeServerUrl |
DEFAULT_CACHE_ON, DEFAULT_IGNORE_HIDDEN_FILES, DEFAULT_MAX_ALLOWED_ITEMS_IN_CACHE, DEFAULT_MERGING_ON| Constructor and Description |
|---|
ContextImpl(String id,
ContentStoreAdapter storeAdapter,
String storeServerUrl,
String rootFolderPath,
boolean mergingOn,
boolean cacheOn,
int maxAllowedItemsInCache,
boolean ignoreHiddenFiles) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getId() |
int |
getMaxAllowedItemsInCache() |
String |
getRootFolderPath() |
ContentStoreAdapter |
getStoreAdapter() |
String |
getStoreServerUrl() |
int |
hashCode() |
boolean |
ignoreHiddenFiles() |
boolean |
isCacheOn() |
boolean |
isMergingOn() |
String |
toString() |
protected String id
protected ContentStoreAdapter storeAdapter
protected String storeServerUrl
protected String rootFolderPath
protected boolean mergingOn
protected boolean cacheOn
protected int maxAllowedItemsInCache
protected boolean ignoreHiddenFiles
public ContextImpl(String id, ContentStoreAdapter storeAdapter, String storeServerUrl, String rootFolderPath, boolean mergingOn, boolean cacheOn, int maxAllowedItemsInCache, boolean ignoreHiddenFiles)
public ContentStoreAdapter getStoreAdapter()
getStoreAdapter in interface Contextpublic String getStoreServerUrl()
getStoreServerUrl in interface Contextpublic String getRootFolderPath()
getRootFolderPath in interface Contextpublic boolean isMergingOn()
isMergingOn in interface Contextpublic int getMaxAllowedItemsInCache()
getMaxAllowedItemsInCache in interface Contextpublic boolean ignoreHiddenFiles()
ignoreHiddenFiles in interface ContextCopyright © 2018 CrafterCMS. All rights reserved.