public abstract class AndRevFilter extends RevFilter
Classic shortcut behavior is used, so evaluation of the
RevFilter.include(RevWalk, RevCommit) method stops as soon as a false
result is obtained. Applications can improve filtering performance by placing
faster filters that are more likely to reject a result earlier in the list.
ALL, MERGE_BASE, NO_MERGES, NONE| Constructor and Description |
|---|
AndRevFilter() |
| Modifier and Type | Method and Description |
|---|---|
static RevFilter |
create(Collection<RevFilter> list)
Create a filter around many filters, all of which must match.
|
static RevFilter |
create(RevFilter[] list)
Create a filter around many filters, all of which must match.
|
static RevFilter |
create(RevFilter a,
RevFilter b)
Create a filter with two filters, both of which must match.
|
public static RevFilter create(RevFilter a, RevFilter b)
a - first filter to test.b - second filter to test.public static RevFilter create(RevFilter[] list)
list - list of filters to match against. Must contain at least 2
filters.public static RevFilter create(Collection<RevFilter> list)
list - list of filters to match against. Must contain at least 2
filters.Copyright © 2014. All rights reserved.