Class SimpleRefChangeDetails
java.lang.Object
com.atlassian.bitbucket.repository.SimpleRefChangeDetails
- All Implemented Interfaces:
RefChangeDetails
- Since:
- 5.10
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of commits associated with thisRefChangeDetails.intgetTotal()Returns the total number of commits associated with thisRefChangeDetails.
-
Constructor Details
-
SimpleRefChangeDetails
-
-
Method Details
-
getCommits
Description copied from interface:RefChangeDetailsReturns a list of commits associated with thisRefChangeDetails. This may not contain every associated commit. UseRefChangeDetails.getTotal()to get the total number of commits.- Specified by:
getCommitsin interfaceRefChangeDetails- Returns:
- commits associated with this
RefChangeDetails
-
getTotal
public int getTotal()Description copied from interface:RefChangeDetailsReturns the total number of commits associated with thisRefChangeDetails. This may be larger than the size ofRefChangeDetails.getCommits().- Specified by:
getTotalin interfaceRefChangeDetails- Returns:
- the total number of commits associated with this
RefChangeDetails
-