Package org.craftercms.engine.cache
Class PreloadedFolder
- java.lang.Object
-
- org.craftercms.engine.cache.PreloadedFolder
-
public class PreloadedFolder extends Object
Represents a folder in the content store that has been preloaded in the cache.- Since:
- 3.1.4
- Author:
- avasquez
-
-
Constructor Summary
Constructors Constructor Description PreloadedFolder(String path, int depth, Set<String> descendants)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Boolean
exists(String descendant)
Returns: Null if the descendant's depth is greater than the preload depth for this folder. True if the descendant is in the list of preloaded descendants False if the descendant is not in the list of preloaded descendantsString
getPath()
Returns the path of the folder.int
hashCode()
String
toString()
-
-
-
Method Detail
-
getPath
public String getPath()
Returns the path of the folder.
-
exists
public Boolean exists(String descendant)
Returns:- Null if the descendant's depth is greater than the preload depth for this folder.
- True if the descendant is in the list of preloaded descendants
- False if the descendant is not in the list of preloaded descendants
-
-