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
Modifier and TypeMethodDescriptionGets context.Gets creator.Gets description.getState()
Gets state.The URL that this status is linked to.Methods inherited from class org.kohsuke.github.GHObject
getCreatedAt, getId, getNodeId, getResponseHeaderFields, getUpdatedAt, getUrl, setResponseHeaderFields, toString
-
Constructor Details
-
GHCommitStatus
public GHCommitStatus()Create default GHCommitStatus instance
-
-
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
-