public class CompareRef extends Object
CompareRequest
,
CompareDiffRequest
Constructor and Description |
---|
CompareRef(PullRequestRef ref)
Convenience constructor for creating a
CompareRef from a PullRequestRef . |
CompareRef(String id,
Repository repository) |
Modifier and Type | Method and Description |
---|---|
String |
getId() |
Repository |
getRepository() |
public CompareRef(@Nonnull String id, @Nonnull Repository repository)
public CompareRef(@Nonnull PullRequestRef ref)
CompareRef
from a PullRequestRef
.ref
- the pull request ref to create a compare ref from@Nonnull public Repository getRepository()
Copyright © 2022 Atlassian. All rights reserved.