Classic shortcut behavior is used, so evaluation of the
org.
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.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static RevFilter | |
| public static RevFilter | |
| public static RevFilter | Returns: a filter that must match all input filters.list of filters to match against. Must contain at least 2
filters. list)Create a filter around many filters, all of which must match. |
| AndRevFilter | back to summary |
|---|---|
| public AndRevFilter() | |
| create | back to summary |
|---|---|
| public static RevFilter create(RevFilter a, RevFilter b) Create a filter with two filters, both of which must match. | |
| create | back to summary |
|---|---|
| public static RevFilter create(RevFilter[] list) Create a filter around many filters, all of which must match. | |
| create | back to summary |
|---|---|
| public static RevFilter create(Collection<RevFilter> list) Create a filter around many filters, all of which must match.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final RevFilter | |
| private final RevFilter | |
| private final boolean |
| Modifier and Type | Method and Description |
|---|---|
| public RevFilter | clone()
Implements abstract org. Creates and returns a copy of this object. |
| public boolean | include(RevWalk
the active walker this filter is being invoked from within. walker, RevCommit the commit currently being tested. The commit has been parsed
and its body is available for inspection only if the filter
returns true from c)requiresCommitBody().Implements abstract org. Determine if the supplied commit should be included in results. |
| public boolean | requiresCommitBody()
Overrides org. Whether the filter needs the commit body to be parsed. |
| public String | toString()
Overrides org. Returns a string representation of the object. |
| a | back to summary |
|---|---|
| private final RevFilter a | |
| b | back to summary |
|---|---|
| private final RevFilter b | |
| requiresCommitBody | back to summary |
|---|---|
| private final boolean requiresCommitBody | |
| Binary | back to summary |
|---|---|
| pack-priv Binary(RevFilter one, RevFilter two) | |
| clone | back to summary |
|---|---|
| public RevFilter clone() Implements abstract org. Doc from org. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by Clone this revision filter, including its parameters. This is a deep clone. If this filter embeds objects or other filters it must also clone those, to ensure the instances do not share mutable data.
| |
| include | back to summary |
|---|---|
| public boolean include(RevWalk walker, RevCommit c) throws MissingObjectException, IncorrectObjectTypeException, IOException Implements abstract org. Doc from org. Determine if the supplied commit should be included in results.
| |
| requiresCommitBody | back to summary |
|---|---|
| public boolean requiresCommitBody() Overrides org. Doc from org. Whether the filter needs the commit body to be parsed.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final RevFilter[] |
| Modifier and Type | Method and Description |
|---|---|
| public RevFilter | clone()
Implements abstract org. Creates and returns a copy of this object. |
| public boolean | include(RevWalk
the active walker this filter is being invoked from within. walker, RevCommit the commit currently being tested. The commit has been parsed
and its body is available for inspection only if the filter
returns true from c)requiresCommitBody().Implements abstract org. Determine if the supplied commit should be included in results. |
| public boolean | requiresCommitBody()
Overrides org. Whether the filter needs the commit body to be parsed. |
| public String | toString()
Overrides org. Returns a string representation of the object. |
| requiresCommitBody | back to summary |
|---|---|
| private final boolean requiresCommitBody | |
| subfilters | back to summary |
|---|---|
| private final RevFilter[] subfilters | |
| List | back to summary |
|---|---|
| pack-priv List(RevFilter[] list) | |
| clone | back to summary |
|---|---|
| public RevFilter clone() Implements abstract org. Doc from org. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by Clone this revision filter, including its parameters. This is a deep clone. If this filter embeds objects or other filters it must also clone those, to ensure the instances do not share mutable data.
| |
| include | back to summary |
|---|---|
| public boolean include(RevWalk walker, RevCommit c) throws MissingObjectException, IncorrectObjectTypeException, IOException Implements abstract org. Doc from org. Determine if the supplied commit should be included in results.
| |
| requiresCommitBody | back to summary |
|---|---|
| public boolean requiresCommitBody() Overrides org. Doc from org. Whether the filter needs the commit body to be parsed.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |