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