java.lang.Object |
↳ |
com.atlassian.bitbucket.compare.CompareRef |
Class Overview
A ref or commit to compare.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
public
CompareRef
(String id, Repository repository)
Convenience constructor for creating a CompareRef
from a PullRequestRef
.
Parameters
ref
| the pull request ref to create a compare ref from
|
Public Methods
@Nonnull
public
String
getId
()
Returns
- a ref name or a commit ID
@Nonnull
public
Repository
getRepository
()
Returns
- the repository containing the ref or commit