Class ResourceFinder
java.lang.Object
com.atlassian.plugin.webresource.impl.discovery.ResourceFinder
Query builder for retrieving ordered lists of
Resource objects based on what the user is requesting
and what has previously been requested.
The order ensures that:
- All <resource> blocks inside one <web-resource> occur in the order listed.
- Dependencies will be placed before anything that depends on them.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionend()Run query and get found resources.Filter resources.getResources(Collection<String> keys) Get Resources for list of Web Resources.
-
Constructor Details
-
ResourceFinder
-
-
Method Details
-
filter
Filter resources. -
end
Run query and get found resources. -
getResources
Get Resources for list of Web Resources.- Parameters:
keys- keys of Web Resources
-