public class GHCompare extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GHCompare.Commit
Compare commits had a child commit element with additional details we want to capture.
|
static class |
GHCompare.InnerCommit |
static class |
GHCompare.Status |
static class |
GHCompare.Tree |
static class |
GHCompare.User
Deprecated.
use
GitUser instead. |
| Modifier and Type | Field and Description |
|---|---|
GHCompare.Status |
status |
| Constructor and Description |
|---|
GHCompare() |
| Modifier and Type | Method and Description |
|---|---|
int |
getAheadBy() |
GHCompare.Commit |
getBaseCommit() |
int |
getBehindBy() |
GHCompare.Commit[] |
getCommits()
Gets an array of commits.
|
URL |
getDiffUrl() |
GHCommit.File[] |
getFiles()
Gets an array of commits.
|
URL |
getHtmlUrl() |
GHCompare.Commit |
getMergeBaseCommit() |
URL |
getPatchUrl() |
URL |
getPermalinkUrl() |
GHCompare.Status |
getStatus() |
int |
getTotalCommits() |
URL |
getUrl() |
GHCompare |
wrap(GHRepository owner) |
public GHCompare.Status status
public URL getUrl()
public URL getHtmlUrl()
public URL getPermalinkUrl()
public URL getDiffUrl()
public URL getPatchUrl()
public GHCompare.Status getStatus()
public int getAheadBy()
public int getBehindBy()
public int getTotalCommits()
public GHCompare.Commit getBaseCommit()
public GHCompare.Commit getMergeBaseCommit()
public GHCompare.Commit[] getCommits()
public GHCommit.File[] getFiles()
public GHCompare wrap(GHRepository owner)
Copyright © 2016. All Rights Reserved.