Class BundleFinder
java.lang.Object
com.atlassian.plugin.webresource.impl.discovery.BundleFinder
Query builder for retrieving ordered lists of web-resource keys based on what the user is requesting
and what has previously been requested.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeep(boolean deep) If it should resolve full tree of dependencies recursively, `true` by default.deepFilter(Predicate<Bundle> filter) Remove element and all its dependencies if filter fail.end()Run query and get found Bundles.excluded(Collection<String> keys, Predicate<Bundle> conditionsForExcluded) excludedResolved(Collection<String> keys) included(Collection<String> keys) onDeepFilterFail(PredicateFailStrategy failStrategy) What the walker should do when a deep filter fails.
-
Constructor Details
-
BundleFinder
-
-
Method Details
-
included
-
excluded
public BundleFinder excluded(@Nonnull Collection<String> keys, @Nullable Predicate<Bundle> conditionsForExcluded) -
excludedResolved
-
deep
If it should resolve full tree of dependencies recursively, `true` by default. -
deepFilter
Remove element and all its dependencies if filter fail. -
onDeepFilterFail
What the walker should do when a deep filter fails.- Parameters:
failStrategy-- Returns:
-
endAndGetResult
-
end
Run query and get found Bundles.
-