public class SimpleRescopeDetails extends Object implements RescopeDetails, Serializable
Modifier and Type | Class and Description |
---|---|
static class |
SimpleRescopeDetails.Builder |
Modifier and Type | Field and Description |
---|---|
static Comparator<Commit> |
DATE_ORDER
Orders commits in reverse chronological order, by descending
author
timestamp . |
static SimpleRescopeDetails |
EMPTY |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
List<Commit> |
getCommits() |
int |
getTotal() |
int |
hashCode() |
boolean |
isEmpty() |
String |
toString() |
public static final SimpleRescopeDetails EMPTY
public static final Comparator<Commit> DATE_ORDER
author
timestamp
.
Note: This does not match the date ordering used by git rev-list
, which is reverse chronological
order by committer timestamp, not author. The two are usually the same, but rebase-heavy workflows
may result in rescope activities showing commits in a different order than the "Commits" tab.
@Nonnull public List<Commit> getCommits()
getCommits
in interface RescopeDetails
public int getTotal()
getTotal
in interface RescopeDetails
public boolean isEmpty()
Copyright © 2019 Atlassian. All rights reserved.