Class GHCommitStatus

java.lang.Object
org.kohsuke.github.GHObject
org.kohsuke.github.GHCommitStatus

public class GHCommitStatus extends GHObject
Represents a status of a commit.
Author:
Kohsuke Kawaguchi
See Also:
  • Constructor Details

    • GHCommitStatus

      public GHCommitStatus()
      Create default GHCommitStatus instance
  • Method Details

    • getState

      public GHCommitState getState()
      Gets state.
      Returns:
      the state
    • getTargetUrl

      public String getTargetUrl()
      The URL that this status is linked to.

      This is the URL specified when creating a commit status.

      Returns:
      the target url
    • getDescription

      public String getDescription()
      Gets description.
      Returns:
      the description
    • getCreator

      public GHUser getCreator() throws IOException
      Gets creator.
      Returns:
      the creator
      Throws:
      IOException - the io exception
    • getContext

      public String getContext()
      Gets context.
      Returns:
      the context