public class

SimpleRefChangeDetails

extends Object
implements RefChangeDetails
java.lang.Object
   ↳ com.atlassian.bitbucket.repository.SimpleRefChangeDetails

Summary

Nested Classes
class SimpleRefChangeDetails.Builder  
Public Constructors
SimpleRefChangeDetails(SimpleRefChangeDetails.Builder builder)
Public Methods
@Nonnull List<Commit> getCommits()
Returns a list of commits associated with this RefChangeDetails.
int getTotal()
Returns the total number of commits associated with this RefChangeDetails.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.bitbucket.repository.RefChangeDetails

Public Constructors

public SimpleRefChangeDetails (SimpleRefChangeDetails.Builder builder)

Public Methods

@Nonnull public List<Commit> getCommits ()

Returns a list of commits associated with this RefChangeDetails. This may not contain every associated commit. Use getTotal() to get the total number of commits.

Returns

public int getTotal ()

Returns the total number of commits associated with this RefChangeDetails. This may be larger than the size of getCommits().

Returns