Package org.kohsuke.github
Class GHAppFromManifest
- java.lang.Object
-
- org.kohsuke.github.GHObject
-
- org.kohsuke.github.GHApp
-
- org.kohsuke.github.GHAppFromManifest
-
public class GHAppFromManifest extends GHApp
A GitHub App with the additional attributes returned during its creation.- Author:
- Daniel Baur
- See Also:
GitHub.createAppFromManifest(String)
-
-
Field Summary
-
Fields inherited from class org.kohsuke.github.GHObject
responseHeaderFields
-
-
Constructor Summary
Constructors Constructor Description GHAppFromManifest()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetClientId()Gets the client idStringgetClientSecret()Gets the client secretStringgetPem()Gets the pemGitHubgetRoot()Deprecated.For access to theGitHubinstance, use a local copy instead of pulling it out of objects.StringgetWebhookSecret()Gets the webhook secret-
Methods inherited from class org.kohsuke.github.GHApp
getDescription, getEvents, getExternalUrl, getHtmlUrl, getInstallationById, getInstallationByOrganization, getInstallationByRepository, getInstallationByUser, getInstallationsCount, getName, getOwner, getPermissions, getSlug, listInstallations, setDescription, setEvents, setExternalUrl, setInstallationsCount, setName, setOwner, setPermissions
-
Methods inherited from class org.kohsuke.github.GHObject
getCreatedAt, getId, getNodeId, getResponseHeaderFields, getUpdatedAt, getUrl, setResponseHeaderFields, toString
-
-
-
-
Method Detail
-
getClientId
public String getClientId()
Gets the client id- Returns:
- the client id
-
getClientSecret
public String getClientSecret()
Gets the client secret- Returns:
- the client secret
-
getWebhookSecret
public String getWebhookSecret()
Gets the webhook secret- Returns:
- the webhook secret
-
getPem
public String getPem()
Gets the pem- Returns:
- the pem
-
getRoot
@Deprecated public GitHub getRoot()
Deprecated.For access to theGitHubinstance, use a local copy instead of pulling it out of objects.Get the rootGitHubinstance for this object.- Returns:
- the root
GitHubinstance
-
-