Package org.ametys.web.resources
Class WebSassDependenciesList
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.core.ui.resources.css.sass.SassDependenciesList
org.ametys.web.resources.WebSassDependenciesList
- All Implemented Interfaces:
ResourceDependenciesList,LogEnabled,Prioritizable,Serviceable
Web implementation of the Sass resource dependencies list component
Allow /preview and /live URIs
-
Field Summary
Fields inherited from class org.ametys.plugins.core.ui.resources.css.sass.SassDependenciesList
__SASS_EXTENSION, _requestAttributesHelper, _sassImportHelper, _sourceResolver -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDependenciesList(String uri, Map<String, String> data, boolean onlyFirstLevel) Get the list of dependenciesprotected SassImportHelper.SassImportInfogetSassImportInfo(String uri) Get the Sass import informations from the URIMethods inherited from class org.ametys.plugins.core.ui.resources.css.sass.SassDependenciesList
getPriority, isSupported, serviceMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
WebSassDependenciesList
public WebSassDependenciesList()
-
-
Method Details
-
getSassImportInfo
Description copied from class:SassDependenciesListGet the Sass import informations from the URI- Overrides:
getSassImportInfoin classSassDependenciesList- Parameters:
uri- The URI- Returns:
- The information
-
getDependenciesList
public Set<HashCache.UriData> getDependenciesList(String uri, Map<String, String> data, boolean onlyFirstLevel) Description copied from interface:ResourceDependenciesListGet the list of dependencies- Specified by:
getDependenciesListin interfaceResourceDependenciesList- Overrides:
getDependenciesListin classSassDependenciesList- 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
-