Package org.kohsuke.github
Class GHSubscription
- java.lang.Object
-
- org.kohsuke.github.GHSubscription
-
public class GHSubscription extends Object
Represents your subscribing to a repository / conversation thread..- Author:
- Kohsuke Kawaguchi
- See Also:
GHRepository#getSubscription()
,GHThread#getSubscription()
-
-
Constructor Summary
Constructors Constructor Description GHSubscription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
Removes this subscription.Date
getCreatedAt()
Gets created at.String
getReason()
Gets reason.GHRepository
getRepository()
Gets repository.String
getRepositoryUrl()
Gets repository url.String
getUrl()
Gets url.boolean
isIgnored()
Is ignored boolean.boolean
isSubscribed()
Is subscribed boolean.
-
-
-
Method Detail
-
getCreatedAt
public Date getCreatedAt()
Gets created at.- Returns:
- the created at
-
getUrl
public String getUrl()
Gets url.- Returns:
- the url
-
getRepositoryUrl
public String getRepositoryUrl()
Gets repository url.- Returns:
- the repository url
-
getReason
public String getReason()
Gets reason.- Returns:
- the reason
-
isSubscribed
public boolean isSubscribed()
Is subscribed boolean.- Returns:
- the boolean
-
isIgnored
public boolean isIgnored()
Is ignored boolean.- Returns:
- the boolean
-
getRepository
public GHRepository getRepository()
Gets repository.- Returns:
- the repository
-
delete
public void delete() throws IOException
Removes this subscription.- Throws:
IOException
- the io exception
-
-