public class

SimpleRescopeDetails

extends Object
implements RescopeDetails Serializable
java.lang.Object
   ↳ com.atlassian.bitbucket.pull.SimpleRescopeDetails

Summary

Nested Classes
class SimpleRescopeDetails.Builder  
Fields
public static final Comparator<Commit> DATE_ORDER Orders commits in reverse chronological order, by descending author timestamp.
public static final SimpleRescopeDetails EMPTY
Public Methods
boolean equals(Object o)
@Nonnull List<Commit> getCommits()
int getTotal()
int hashCode()
boolean isEmpty()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.bitbucket.pull.RescopeDetails

Fields

public static final Comparator<Commit> DATE_ORDER

Orders commits in reverse chronological order, by descending 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.

public static final SimpleRescopeDetails EMPTY

Public Methods

public boolean equals (Object o)

@Nonnull public List<Commit> getCommits ()

public int getTotal ()

public int hashCode ()

public boolean isEmpty ()

public String toString ()