Package io.wcm.devops.conga.resource
Interface ResourceCollection
- All Superinterfaces:
Comparable<ResourceInfo>,ResourceInfo
Abstraction for a list of resources from filesystem or classpath.
-
Method Summary
Modifier and TypeMethodDescriptiongetResource(String path) Get child resource.getResourceCollection(String path) Get child resource collection.Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface io.wcm.devops.conga.resource.ResourceInfo
exists, getCanonicalPath, getName, getPath
-
Method Details
-
getResource
Get child resource.- Parameters:
path- Resource path relative to resource collection- Returns:
- Resource or null if not found
-
getResourceCollection
Get child resource collection.- Parameters:
path- Resource path relative to resource collection- Returns:
- Resource collection or null if not found
-
getResources
- Returns:
- Resources in this collections.
-
getResourceCollections
SortedSet<ResourceCollection> getResourceCollections()- Returns:
- Resource collections in this collection.
-