Interface ResourceDependenciesList
- All Superinterfaces:
Prioritizable
- All Known Implementing Classes:
CssDependenciesList
,DefaultResourceDependenciesList
,SassDependenciesList
,WebCssDependenciesList
,WebDefaultResourceDependenciesList
,WebSassDependenciesList
List the dependencies of a resource
-
Method Summary
Modifier and TypeMethodDescriptiongetDependenciesList
(String uri, Map<String, String> data, boolean onlyFirstLevel) Get the list of dependenciesboolean
isSupported
(String uri) Is the uri supported to get the list of dependenciesMethods inherited from interface org.ametys.runtime.plugin.component.Prioritizable
getPriority
-
Method Details
-
isSupported
Is the uri supported to get the list of dependencies- Parameters:
uri
- The uri- Returns:
- True if the uri is supported
-
getDependenciesList
Set<HashCache.UriData> getDependenciesList(String uri, Map<String, String> data, boolean onlyFirstLevel) Get the list of dependencies- Parameters:
uri
- The input sourcedata
- Additional data, specific per ResourceDependenciesList implementationsonlyFirstLevel
- if true, only data corresponding to the given uris should be returned- Returns:
- The list of dependencies URIs
-