Package org.nuxeo.ecm.web.resources.core
Class ResourceDescriptor
- java.lang.Object
-
- org.nuxeo.ecm.web.resources.core.ResourceDescriptor
-
-
Constructor Summary
Constructors Constructor Description ResourceDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getDependencies()
Names of the resource dependencies.String
getName()
String
getPath()
List<String>
getProcessors()
Names of the resource processors, hooking features like flavor replacement on the resource.String
getTarget()
Returns an optional target to push resources to in the page.String
getType()
String
getURI()
boolean
isShrinkable()
Returns true if resource can be minimized.void
setDependencies(List<String> dependencies)
void
setName(String name)
void
setPath(String path)
void
setProcessors(List<String> processors)
void
setShrinkable(boolean shrinkable)
void
setTarget(String target)
void
setType(String type)
void
setUri(String uri)
void
setURI(String uri)
-
-
-
Method Detail
-
getDependencies
public List<String> getDependencies()
Description copied from interface:Resource
Names of the resource dependencies.- Specified by:
getDependencies
in interfaceResource
-
getProcessors
public List<String> getProcessors()
Description copied from interface:Resource
Names of the resource processors, hooking features like flavor replacement on the resource.- Specified by:
getProcessors
in interfaceResource
-
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
public void setURI(String uri)
-
setName
public void setName(String name)
- Since:
- 7.4
-
setType
public void setType(String type)
- Since:
- 7.4
-
setPath
public void setPath(String path)
- Since:
- 7.4
-
setShrinkable
public void setShrinkable(boolean shrinkable)
- Since:
- 7.4
-
setUri
public void setUri(String uri)
- Since:
- 7.4
-
getTarget
public String getTarget()
Description copied from interface:Resource
Returns an optional target to push resources to in the page.Currently only useful to JSF resources.
-
setTarget
public void setTarget(String target)
- Since:
- 7.10
-
-