Package org.kohsuke.github
Class GHCommitStatus
java.lang.Object
org.kohsuke.github.GHObject
org.kohsuke.github.GHCommitStatus
Represents a status of a commit.
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Field Summary
Fields inherited from class org.kohsuke.github.GHObject
responseHeaderFields
-
Constructor Summary
-
Method Summary
Methods inherited from class org.kohsuke.github.GHObject
getCreatedAt, getId, getNodeId, getResponseHeaderFields, getUpdatedAt, getUrl, setResponseHeaderFields, toString
-
Constructor Details
-
GHCommitStatus
public GHCommitStatus()
-
-
Method Details
-
getState
Gets state.- Returns:
- the state
-
getTargetUrl
The URL that this status is linked to.This is the URL specified when creating a commit status.
- Returns:
- the target url
-
getDescription
Gets description.- Returns:
- the description
-
getCreator
Gets creator.- Returns:
- the creator
- Throws:
IOException
- the io exception
-
getContext
Gets context.- Returns:
- the context
-
getHtmlUrl
Deprecated.This object has no HTML URL.Gets the html url.- Specified by:
getHtmlUrl
in classGHObject
- Returns:
- the html url
-
getRoot
Deprecated.For access to theGitHub
instance, use a local copy instead of pulling it out of objects.Get the rootGitHub
instance for this object.- Returns:
- the root
GitHub
instance
-