public interface Resource extends Serializable
Modifier and Type | Field and Description |
---|---|
static String |
PREFIX
Marker for Nuxeo web resources, used by URI locators.
|
Modifier and Type | Method and 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.
|
static final String PREFIX
String getTarget()
Currently only useful to JSF resources.
List<String> getDependencies()
List<String> getProcessors()
boolean isShrinkable()
Returns true by default if not specified.
Copyright © 2015 Nuxeo SA. All rights reserved.