Package org.nuxeo.ecm.web.resources.core
Class ResourceDescriptor
java.lang.Object
org.nuxeo.ecm.web.resources.core.ResourceDescriptor
- All Implemented Interfaces:
Resource
- Since:
- 7.3
-
Field Summary
Fields -
Constructor Summary
Constructors -
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()booleanReturns true if resource can be minimized.voidsetDependencies(List<String> dependencies) voidvoidvoidsetProcessors(List<String> processors) voidsetShrinkable(boolean shrinkable) voidvoidvoidvoid
-
Field Details
-
name
-
type
-
target
Target for this resource.Currently only useful for JSF resources reallocation in the page.
- Since:
- 7.10
-
path
-
dependencies
-
processors
-
shrinkable
public boolean shrinkable -
uri
-
-
Constructor Details
-
ResourceDescriptor
public ResourceDescriptor()
-
-
Method Details
-
getName
-
getType
-
getDependencies
Description copied from interface:ResourceNames of the resource dependencies.- Specified by:
getDependenciesin interfaceResource
-
getProcessors
Description copied from interface:ResourceNames of the resource processors, hooking features like flavor replacement on the resource.- Specified by:
getProcessorsin interfaceResource
-
getPath
-
getURI
-
isShrinkable
public boolean isShrinkable()Description copied from interface:ResourceReturns true if resource can be minimized.Returns true by default if not specified.
- Specified by:
isShrinkablein interfaceResource
-
setURI
-
setName
- Since:
- 7.4
-
setType
- Since:
- 7.4
-
setPath
- Since:
- 7.4
-
setDependencies
- Since:
- 7.4
-
setProcessors
- Since:
- 7.4
-
setShrinkable
public void setShrinkable(boolean shrinkable) - Since:
- 7.4
-
setUri
- Since:
- 7.4
-
getTarget
Description copied from interface:ResourceReturns an optional target to push resources to in the page.Currently only useful to JSF resources.
-
setTarget
- Since:
- 7.10
-