Class ContextImpl

java.lang.Object
org.craftercms.core.service.ContextImpl
All Implemented Interfaces:
Cloneable, Context
Direct Known Subclasses:
FileSystemContext

public class ContextImpl extends Object implements Context
Default Context implementation.
Author:
Sumer Jabri, Alfonso Vásquez
  • Field Details

    • CACHE_SCOPE_FORMAT

      protected static final String CACHE_SCOPE_FORMAT
      See Also:
    • id

      protected String id
    • storeAdapter

      protected ContentStoreAdapter storeAdapter
    • rootFolderPath

      protected String rootFolderPath
    • mergingOn

      protected boolean mergingOn
    • cacheOn

      protected boolean cacheOn
    • cacheVersion

      protected volatile long cacheVersion
    • maxAllowedItemsInCache

      protected int maxAllowedItemsInCache
    • ignoreHiddenFiles

      protected boolean ignoreHiddenFiles
  • Constructor Details

    • ContextImpl

      public ContextImpl(String id, ContentStoreAdapter storeAdapter, String rootFolderPath, boolean mergingOn, boolean cacheOn, int maxAllowedItemsInCache, boolean ignoreHiddenFiles)
  • Method Details