Package com.atlassian.bitbucket.pull
Class SimpleRescopeDetails
java.lang.Object
com.atlassian.bitbucket.pull.SimpleRescopeDetails
- All Implemented Interfaces:
RescopeDetails
,Serializable
- Since:
- 4.5
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Comparator<Commit>
Orders commits in reverse chronological order, by descendingauthor timestamp
.static final SimpleRescopeDetails
-
Method Summary
-
Field Details
-
EMPTY
-
DATE_ORDER
Orders commits in reverse chronological order, by descendingauthor 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.
-
-
Method Details
-
equals
-
getCommits
- Specified by:
getCommits
in interfaceRescopeDetails
- Returns:
- a list of 0 or more commits added or removed by the rescope
-
getTotal
public int getTotal()- Specified by:
getTotal
in interfaceRescopeDetails
-
hashCode
public int hashCode() -
isEmpty
public boolean isEmpty() -
toString
-