Class SimpleRefChangeDetails
java.lang.Object
com.atlassian.bitbucket.repository.SimpleRefChangeDetails
- All Implemented Interfaces:
RefChangeDetails
- Since:
- 5.10
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a list of commits associated with thisRefChangeDetails
.int
getTotal()
Returns the total number of commits associated with thisRefChangeDetails
.
-
Constructor Details
-
SimpleRefChangeDetails
-
-
Method Details
-
getCommits
Description copied from interface:RefChangeDetails
Returns 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:
getCommits
in interfaceRefChangeDetails
- Returns:
- commits associated with this
RefChangeDetails
-
getTotal
public int getTotal()Description copied from interface:RefChangeDetails
Returns the total number of commits associated with thisRefChangeDetails
. This may be larger than the size ofRefChangeDetails.getCommits()
.- Specified by:
getTotal
in interfaceRefChangeDetails
- Returns:
- the total number of commits associated with this
RefChangeDetails
-