Package org.nuxeo.ecm.web.resources.api
Interface Resource
- All Known Implementing Classes:
ResourceDescriptor
public interface Resource
Typed Web resource (js, css, bundle).
- Since:
- 7.3
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionNames of the resource dependencies.getName()
getPath()
Names of the resource processors, hooking features like flavor replacement on the resource.Returns an optional target to push resources to in the page.getType()
getURI()
boolean
Returns true if resource can be minimized.
-
Field Details
-
PREFIX
Marker for Nuxeo web resources, used by URI locators.- See Also:
-
-
Method Details
-
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
-
getDependencies
Names of the resource dependencies. -
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.
-