Class CssDependenciesList
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.core.ui.resources.css.CssDependenciesList
- All Implemented Interfaces:
ResourceDependenciesList
,LogEnabled
,Serviceable
- Direct Known Subclasses:
WebCssDependenciesList
public class CssDependenciesList
extends AbstractLogEnabled
implements ResourceDependenciesList, Serviceable
Dependencies list for css files
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDependenciesList
(String uri, Map<String, String> data) Get the list of dependenciesint
Get the priority of this FileDependenciesList if multiple are supportedboolean
isSupported
(String uri) Is the uri supported to get the list of dependenciesvoid
service
(ServiceManager manager) Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
_requestAttributesHelper
RequestAttributesHelper
-
-
Constructor Details
-
CssDependenciesList
public CssDependenciesList()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
isSupported
Description copied from interface:ResourceDependenciesList
Is the uri supported to get the list of dependencies- Specified by:
isSupported
in interfaceResourceDependenciesList
- Parameters:
uri
- The uri- Returns:
- True if the uri is supported
-
getPriority
Description copied from interface:ResourceDependenciesList
Get the priority of this FileDependenciesList if multiple are supported- Specified by:
getPriority
in interfaceResourceDependenciesList
- Returns:
- The priority. The highest value will be used
-
getDependenciesList
Description copied from interface:ResourceDependenciesList
Get the list of dependencies- Specified by:
getDependenciesList
in interfaceResourceDependenciesList
- Parameters:
uri
- The input sourcedata
- Additional data, specific per ResourceDependenciesList implementations- Returns:
- The list of dependencies URIs
-