|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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. |
boolean |
equals(Object obj)
|
GHRepository |
fork()
Forks this repository as your repository. |
GHRepository |
forkTo(GHOrganization org)
Forks this repository into an organization. |
Set<GHUser> |
getCollaborators()
Gets the collaborators on this repository. |
Date |
getCreatedAt()
|
String |
getDescription()
|
int |
getForks()
|
String |
getHomepage()
|
String |
getName()
|
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(GHPullRequest.State state)
Retrieves all the pull requests of a particular state. |
Date |
getPushedAt()
|
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
protected String getOwnerName()
public boolean hasIssues()
public boolean hasWiki()
public boolean isFork()
public int getForks()
public boolean isPrivate()
public boolean hasDownloads()
public int getWatchers()
public Date getPushedAt()
public Date getCreatedAt()
public Set<GHUser> getCollaborators() 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 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(GHPullRequest.State state) throws IOException
IOException
public Set<URL> getPostCommitHooks()
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |