public class SimpleRefChangeDetails extends Object implements RefChangeDetails
Modifier and Type | Class and Description |
---|---|
static class |
SimpleRefChangeDetails.Builder |
Constructor and Description |
---|
SimpleRefChangeDetails(SimpleRefChangeDetails.Builder builder) |
Modifier and Type | Method and Description |
---|---|
List<Commit> |
getCommits()
Returns a list of commits associated with this
RefChangeDetails . |
int |
getTotal()
Returns the total number of commits associated with this
RefChangeDetails . |
public SimpleRefChangeDetails(SimpleRefChangeDetails.Builder builder)
@Nonnull public List<Commit> getCommits()
RefChangeDetails
RefChangeDetails
. This may not contain every associated commit. Use RefChangeDetails.getTotal()
to get the total number of commits.getCommits
in interface RefChangeDetails
RefChangeDetails
public int getTotal()
RefChangeDetails
RefChangeDetails
. This may be larger than the size of RefChangeDetails.getCommits()
.getTotal
in interface RefChangeDetails
RefChangeDetails
Copyright © 2020 Atlassian. All rights reserved.