org.kohsuke.github
Class GHRepository
java.lang.Object
org.kohsuke.github.GHRepository
public class GHRepository
- extends java.lang.Object
A repository on GitHub.
- Author:
- Kohsuke Kawaguchi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GHRepository
public GHRepository()
getDescription
public java.lang.String getDescription()
getHomepage
public java.lang.String getHomepage()
getUrl
public java.lang.String getUrl()
getName
public java.lang.String getName()
getOwner
public GHUser getOwner()
throws java.io.IOException
- Throws:
java.io.IOException
hasIssues
public boolean hasIssues()
hasWiki
public boolean hasWiki()
isFork
public boolean isFork()
getForks
public int getForks()
isPrivate
public boolean isPrivate()
hasDownloads
public boolean hasDownloads()
getWatchers
public int getWatchers()
getCollaborators
public java.util.Set<GHUser> getCollaborators()
throws java.io.IOException
- Gets the collaborators on this repository.
This set always appear to include the owner.
- Throws:
java.io.IOException
addCollaborators
public void addCollaborators(GHUser... users)
throws java.io.IOException
- Throws:
java.io.IOException
addCollaborators
public void addCollaborators(java.util.Collection<GHUser> users)
throws java.io.IOException
- Throws:
java.io.IOException
removeCollaborators
public void removeCollaborators(GHUser... users)
throws java.io.IOException
- Throws:
java.io.IOException
removeCollaborators
public void removeCollaborators(java.util.Collection<GHUser> users)
throws java.io.IOException
- Throws:
java.io.IOException
delete
public void delete()
throws java.io.IOException
- Deletes this repository.
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2010. All Rights Reserved.