public class Found extends Object
BundleWalker, where every
item is in is in topological sort order.
The items captured will vary based on how the graph walk was configured in
BundleFinder or BundleWalker.| Modifier and Type | Class and Description |
|---|---|
static class |
Found.Item
Tuple of a
Requestable key and its contribution State
to the response for a client request. |
| Constructor and Description |
|---|
Found(List<Found.Item> items)
Deprecated.
|
Found(List<Found.Item> items,
List<String> reducedInclusions,
Set<String> reducedExclusions) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAll() |
List<String> |
getFound() |
Set<String> |
getReducedExclusions() |
List<String> |
getReducedInclusions() |
List<String> |
getSkipped() |
public static final Found EMPTY
@Deprecated public Found(List<Found.Item> items)
public List<String> getFound()
Requestable keys
whose content should be served to the client.public List<String> getSkipped()
Requestable keys that failed a deep filter
test while traversing the graph (such as a UrlReadingCondition
returning false) and should not be served to the client.
Note that these are the exact items that failed a predicate test. Any child items would be ignored by the
graph walk. If you need a complete list that includes subtrees of skipped items, configure
BundleFinder.onDeepFilterFail(PredicateFailStrategy) to continue when a deep filter fails.public List<String> getAll()
Requestable keys
discovered while performing this graph traversal. The list will include all skipped items,
and may include ignored subtrees depending on how BundleFinder.onDeepFilterFail(PredicateFailStrategy)
was configured.public List<String> getReducedInclusions()
getFound() items
after omitting subtrees discoverable via getReducedExclusions().
Can be used to minimise encoding cost when expressing the graph query and avoid redundant graph walks.Copyright © 2024 Atlassian. All rights reserved.