|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.kohsuke.github.GHRepository
public class GHRepository
A repository on GitHub.
| Constructor Summary | |
|---|---|
GHRepository()
|
|
| Method Summary | |
|---|---|
void |
addCollaborators(Collection<GHUser> users)
|
void |
addCollaborators(GHUser... users)
|
void |
delete()
Deletes this repository. |
void |
enableIssueTracker(boolean v)
Enables or disables the issue tracker for this repository. |
boolean |
equals(Object obj)
|
GHRepository |
fork()
Forks this repository as your repository. |
GHRepository |
forkTo(GHOrganization org)
Forks this repository into an organization. |
Set<String> |
getCollaboratorNames()
Gets the names of the collaborators on this repository. |
Set<GHUser> |
getCollaborators()
Gets the collaborators on this repository. |
Date |
getCreatedAt()
|
String |
getDescription()
|
int |
getForks()
|
String |
getHomepage()
|
List<GHIssue> |
getIssues(GHIssueState state)
|
String |
getName()
|
int |
getOpenIssueCount()
|
GHUser |
getOwner()
|
protected String |
getOwnerName()
|
Set<URL> |
getPostCommitHooks()
Returns a set that represents the post-commit hook URLs. |
GHPullRequest |
getPullRequest(int i)
Retrieves a specified pull request. |
List<GHPullRequest> |
getPullRequests(GHIssueState state)
Retrieves all the pull requests of a particular state. |
Date |
getPushedAt()
|
Set<GHTeam> |
getTeams()
If this repository belongs to an organization, return a set of teams. |
String |
getUrl()
URL of this repository, like 'http://github.com/kohsuke/hudson' |
int |
getWatchers()
|
boolean |
hasDownloads()
|
int |
hashCode()
|
boolean |
hasIssues()
|
boolean |
hasWiki()
|
boolean |
isFork()
|
boolean |
isPrivate()
|
void |
removeCollaborators(Collection<GHUser> users)
|
void |
removeCollaborators(GHUser... users)
|
void |
renameTo(String newName)
Rename this repository. |
void |
setEmailServiceHook(String address)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GHRepository()
| Method Detail |
|---|
public String getDescription()
public String getHomepage()
public String getUrl()
public String getName()
public GHUser getOwner()
throws IOException
IOException
public List<GHIssue> getIssues(GHIssueState state)
throws IOException
IOExceptionprotected String getOwnerName()
public boolean hasIssues()
public boolean hasWiki()
public boolean isFork()
public int getForks()
public boolean isPrivate()
public boolean hasDownloads()
public int getWatchers()
public int getOpenIssueCount()
public Date getPushedAt()
public Date getCreatedAt()
public Set<GHUser> getCollaborators()
throws IOException
IOException
public Set<String> getCollaboratorNames()
throws IOException
getCollaborators().
IOException
public Set<GHTeam> getTeams()
throws IOException
IOException
public void addCollaborators(GHUser... users)
throws IOException
IOException
public void addCollaborators(Collection<GHUser> users)
throws IOException
IOException
public void removeCollaborators(GHUser... users)
throws IOException
IOException
public void removeCollaborators(Collection<GHUser> users)
throws IOException
IOException
public void setEmailServiceHook(String address)
throws IOException
IOException
public void enableIssueTracker(boolean v)
throws IOException
IOException
public void delete()
throws IOException
IOException
public GHRepository fork()
throws IOException
IOException
public GHRepository forkTo(GHOrganization org)
throws IOException
IOException
public void renameTo(String newName)
throws IOException
IOException
public GHPullRequest getPullRequest(int i)
throws IOException
IOException
public List<GHPullRequest> getPullRequests(GHIssueState state)
throws IOException
IOExceptionpublic Set<URL> getPostCommitHooks()
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||