| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final int |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static final RevFilter | Returns: a new filter to select commits on or afterts.the point in time to cut on. ts)
Deprecated
since 7.2. Use
after(Instant) instead.
Create a new filter to select commits after a given date/time. |
| public static RevFilter | |
| public static final RevFilter | Returns: a new filter to select commits on or afterts.the point in time to cut on, in milliseconds. ts)Create a new filter to select commits after a given date/time. |
| public static final RevFilter | Returns: a new filter to select commits on or beforets.the point in time to cut on. ts)
Deprecated
since 7.2. Use
before(Instant) instead.
Create a new filter to select commits before a given date/time. |
| public static RevFilter | |
| public static final RevFilter | Returns: a new filter to select commits on or beforets.the point in time to cut on, in milliseconds ts)Create a new filter to select commits before a given date/time. |
| public static final RevFilter | Returns: a new filter to select commits between the given date/times.the point in time to cut on. since, Date the point in time to cut off. until)
Deprecated
since 7.2. Use
between(Instant, Instant) instead.
Create a new filter to select commits after or equal a given date/time |
| public static RevFilter | |
| public static final RevFilter | Returns: a new filter to select commits between the given date/times.the point in time to cut on, in milliseconds. since, long the point in time to cut off, in millisconds. until)
Deprecated
since 7.2. Use
between(Instant, Instant) instead.
Create a new filter to select commits after or equal a given date/time |
| public RevFilter | clone()
Implements abstract org. Creates and returns a copy of this object. |
| public boolean | requiresCommitBody()
Overrides org. Whether the filter needs the commit body to be parsed. |
| when | back to summary |
|---|---|
| pack-priv final int when | |
| CommitTimeRevFilter | back to summary |
|---|---|
| pack-priv CommitTimeRevFilter(long ts) | |
| CommitTimeRevFilter | back to summary |
|---|---|
| pack-priv CommitTimeRevFilter(Instant t) | |
| after | back to summary |
|---|---|
| public static final RevFilter after(Date ts)
Create a new filter to select commits after a given date/time.
| |
| after | back to summary |
|---|---|
| public static RevFilter after(Instant ts) Create a new filter to select commits after a given date/time. | |
| after | back to summary |
|---|---|
| public static final RevFilter after(long ts) Create a new filter to select commits after a given date/time.
| |
| before | back to summary |
|---|---|
| public static final RevFilter before(Date ts)
Create a new filter to select commits before a given date/time.
| |
| before | back to summary |
|---|---|
| public static RevFilter before(Instant ts) Create a new filter to select commits before a given date/time. | |
| before | back to summary |
|---|---|
| public static final RevFilter before(long ts) Create a new filter to select commits before a given date/time.
| |
| between | back to summary |
|---|---|
| public static final RevFilter between(Date since, Date until)
Create a new filter to select commits after or equal a given date/time
| |
| between | back to summary |
|---|---|
| public static RevFilter between(Instant since, Instant until) Create a new filter to select commits after or equal a given date/time
| |
| between | back to summary |
|---|---|
| public static final RevFilter between(long since, long until)
Create a new filter to select commits after or equal a given date/time
| |
| 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.
| |
| requiresCommitBody | back to summary |
|---|---|
| public boolean requiresCommitBody() Overrides org. Doc from org. Whether the filter needs the commit body to be parsed.
| |
| 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 cmit)requiresCommitBody().Implements abstract org. Determine if the supplied commit should be included in results. |
| public String | toString()
Overrides org. Returns a string representation of the object. |
| After | back to summary |
|---|---|
| pack-priv After(Instant t) | |
| include | back to summary |
|---|---|
| public boolean include(RevWalk walker, RevCommit cmit) throws StopWalkException, MissingObjectException, IncorrectObjectTypeException, IOException Implements abstract org. Doc from org. Determine if the supplied commit should be included in results.
| |
| 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 | 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 cmit)requiresCommitBody().Implements abstract org. Determine if the supplied commit should be included in results. |
| public String | toString()
Overrides org. Returns a string representation of the object. |
| Before | back to summary |
|---|---|
| pack-priv Before(Instant t) | |
| include | back to summary |
|---|---|
| public boolean include(RevWalk walker, RevCommit cmit) throws StopWalkException, MissingObjectException, IncorrectObjectTypeException, IOException Implements abstract org. Doc from org. Determine if the supplied commit should be included in results.
| |
| 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 int |
| 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 cmit)requiresCommitBody().Implements abstract org. Determine if the supplied commit should be included in results. |
| public String | toString()
Overrides org. Returns a string representation of the object. |
| until | back to summary |
|---|---|
| private final int until | |
| Between | back to summary |
|---|---|
| pack-priv Between(Instant since, Instant until) | |
| include | back to summary |
|---|---|
| public boolean include(RevWalk walker, RevCommit cmit) throws StopWalkException, MissingObjectException, IncorrectObjectTypeException, IOException Implements abstract org. Doc from org. Determine if the supplied commit should be included in results.
| |
| 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-
| |