| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final RevFlagSet |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public RevFilter | clone()
Implements abstract org. Creates and returns a copy of this object. |
| public static RevFilter | |
| public static RevFilter | |
| public static RevFilter | Returns: filter that selects only commits with all flags ina.set of flags to test. a)Create a new filter that tests all flags in a set. |
| public static RevFilter | |
| public static RevFilter | Returns: filter that selects only commits with any flag ina.set of flags to test. a)Create a new filter that tests for any flag in a set. |
| public String | toString()
Overrides org. Returns a string representation of the object. |
| flags | back to summary |
|---|---|
| pack-priv final RevFlagSet flags | |
| RevFlagFilter | back to summary |
|---|---|
| pack-priv RevFlagFilter(RevFlagSet m) | |
| 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.
| |
| has | back to summary |
|---|---|
| public static RevFilter has(RevFlag a) Create a new filter that tests for a single flag. | |
| hasAll | back to summary |
|---|---|
| public static RevFilter hasAll(RevFlag... a) Create a new filter that tests all flags in a set. | |
| hasAll | back to summary |
|---|---|
| public static RevFilter hasAll(RevFlagSet a) Create a new filter that tests all flags in a set.
| |
| hasAny | back to summary |
|---|---|
| public static RevFilter hasAny(RevFlag... a) Create a new filter that tests for any flag in a set. | |
| hasAny | back to summary |
|---|---|
| public static RevFilter hasAny(RevFlagSet a) Create a new filter that tests for any flag in a set.
| |
| 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- | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| 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. |
| HasAll | back to summary |
|---|---|
| pack-priv HasAll(RevFlagSet m) | |
| 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.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| 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. |
| HasAny | back to summary |
|---|---|
| pack-priv HasAny(RevFlagSet m) | |
| 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.
| |