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
-
Constructor 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.void
setDependencies
(List<String> dependencies) void
void
void
setProcessors
(List<String> processors) void
setShrinkable
(boolean shrinkable) void
void
void
void
-
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:Resource
Names of the resource dependencies.- Specified by:
getDependencies
in interfaceResource
-
getProcessors
Description copied from interface:Resource
Names of the resource processors, hooking features like flavor replacement on the resource.- Specified by:
getProcessors
in interfaceResource
-
getPath
-
getURI
-
isShrinkable
public boolean isShrinkable()Description copied from interface:Resource
Returns true if resource can be minimized.Returns true by default if not specified.
- Specified by:
isShrinkable
in 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:Resource
Returns an optional target to push resources to in the page.Currently only useful to JSF resources.
-
setTarget
- Since:
- 7.10
-