|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jgit.revwalk.filter.RevFilter
org.eclipse.jgit.revwalk.filter.CommitTimeRevFilter
public abstract class CommitTimeRevFilter
Selects commits based upon the commit time field.
Field Summary |
---|
Fields inherited from class org.eclipse.jgit.revwalk.filter.RevFilter |
---|
ALL, MERGE_BASE, NO_MERGES, NONE |
Method Summary | |
---|---|
static RevFilter |
after(Date ts)
Create a new filter to select commits after a given date/time. |
static RevFilter |
after(long ts)
Create a new filter to select commits after a given date/time. |
static RevFilter |
before(Date ts)
Create a new filter to select commits before a given date/time. |
static RevFilter |
before(long ts)
Create a new filter to select commits before a given date/time. |
static RevFilter |
between(Date since,
Date until)
Create a new filter to select commits after or equal a given date/time since
and before or equal a given date/time until . |
static RevFilter |
between(long since,
long until)
Create a new filter to select commits after or equal a given date/time since
and before or equal a given date/time until . |
RevFilter |
clone()
Clone this revision filter, including its parameters. |
boolean |
requiresCommitBody()
|
Methods inherited from class org.eclipse.jgit.revwalk.filter.RevFilter |
---|
include, negate, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static final RevFilter before(Date ts)
ts
- the point in time to cut on.
ts
.public static final RevFilter before(long ts)
ts
- the point in time to cut on, in milliseconds
ts
.public static final RevFilter after(Date ts)
ts
- the point in time to cut on.
ts
.public static final RevFilter after(long ts)
ts
- the point in time to cut on, in milliseconds.
ts
.public static final RevFilter between(Date since, Date until)
since
and before or equal a given date/time until
.
since
- the point in time to cut on.until
- the point in time to cut off.
public static final RevFilter between(long since, long until)
since
and before or equal a given date/time until
.
since
- the point in time to cut on, in milliseconds.until
- the point in time to cut off, in millisconds.
public RevFilter clone()
RevFilter
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.
clone
in class RevFilter
public boolean requiresCommitBody()
requiresCommitBody
in class RevFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |