* Gets a `HarnessPredicate` that can be used to search for a tree with specific attributes. * @param options Options for narrowing the search * @return a `HarnessPredicate` configured with the given options.
(options: TreeHarnessFilters = {})
| 25 | * @return a `HarnessPredicate` configured with the given options. |
| 26 | */ |
| 27 | static with(options: TreeHarnessFilters = {}): HarnessPredicate<TreeHarness> { |
| 28 | return new HarnessPredicate(TreeHarness, options); |
| 29 | } |
| 30 | |
| 31 | /** Gets all of the items in the tree. */ |
| 32 | async getItems(filter: TreeItemHarnessFilters = {}): Promise<TreeItemHarness[]> { |