public class BundleFinder extends Object
| Constructor and Description |
|---|
BundleFinder(Snapshot snapshot) |
| Modifier and Type | Method and Description |
|---|---|
BundleFinder |
deep(boolean deep)
If it should resolve full tree of dependencies recursively, `true` by default.
|
BundleFinder |
deepFilter(com.google.common.base.Predicate<Bundle> filter)
Remove element and all its dependencies if filter fail.
|
List<String> |
end()
Run query and get found Bundles.
|
Found |
endAndGetResult() |
BundleFinder |
excluded(Collection<String> keys,
com.google.common.base.Predicate<Bundle> conditionsForExcluded) |
BundleFinder |
excludedResolved(Collection<String> keys) |
BundleFinder |
included(Collection<String> keys) |
BundleFinder |
included(String key) |
BundleFinder |
onDeepFilterFail(PredicateFailStrategy failStrategy)
What the walker should do when a deep filter fails.
|
BundleFinder |
shallowFilter(com.google.common.base.Predicate<Bundle> filter)
Remove element but leave its dependencies if filter fail.
|
public BundleFinder(Snapshot snapshot)
public BundleFinder included(Collection<String> keys)
public BundleFinder included(String key)
public BundleFinder excluded(@Nonnull Collection<String> keys, @Nullable com.google.common.base.Predicate<Bundle> conditionsForExcluded)
public BundleFinder excludedResolved(Collection<String> keys)
public BundleFinder deep(boolean deep)
public BundleFinder deepFilter(com.google.common.base.Predicate<Bundle> filter)
public BundleFinder onDeepFilterFail(PredicateFailStrategy failStrategy)
failStrategy - public BundleFinder shallowFilter(com.google.common.base.Predicate<Bundle> filter)
public Found endAndGetResult()
Copyright © 2024 Atlassian. All rights reserved.