Package org.nuxeo.ecm.web.resources.api
Interface Resource
-
- All Known Implementing Classes:
ResourceDescriptor
public interface ResourceTyped Web resource (js, css, bundle).- Since:
- 7.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>getDependencies()Names of the resource dependencies.StringgetName()StringgetPath()List<String>getProcessors()Names of the resource processors, hooking features like flavor replacement on the resource.StringgetTarget()Returns an optional target to push resources to in the page.StringgetType()StringgetURI()booleanisShrinkable()Returns true if resource can be minimized.
-
-
-
Field Detail
-
PREFIX
static final String PREFIX
Marker for Nuxeo web resources, used by URI locators.- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
String getName()
-
getType
String getType()
-
getPath
String getPath()
-
getURI
String getURI()
-
getTarget
String getTarget()
Returns an optional target to push resources to in the page.Currently only useful to JSF resources.
- Since:
- 7.10
-
getProcessors
List<String> getProcessors()
Names of the resource processors, hooking features like flavor replacement on the resource.
-
isShrinkable
boolean isShrinkable()
Returns true if resource can be minimized.Returns true by default if not specified.
-
-