|
|||||||||
| 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. |
GHRepository |
fork()
Forks this repository. |
Set<GHUser> |
getCollaborators()
Gets the collaborators on this repository. |
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. |
String |
getUrl()
URL of this repository, like 'http://github.com/kohsuke/hudson' |
int |
getWatchers()
|
boolean |
hasDownloads()
|
boolean |
hasIssues()
|
boolean |
hasWiki()
|
boolean |
isFork()
|
boolean |
isPrivate()
|
void |
removeCollaborators(Collection<GHUser> users)
|
void |
removeCollaborators(GHUser... users)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, 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
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 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 delete()
throws IOException
IOException
public GHRepository fork()
throws IOException
IOExceptionpublic Set<URL> getPostCommitHooks()
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||