Class GHCommitStatus

    • Constructor Detail

      • GHCommitStatus

        public GHCommitStatus()
    • Method Detail

      • 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
      • getContext

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

        public URL getHtmlUrl()
        Deprecated.
        This object has no HTML URL.
        Gets the html url.
        Specified by:
        getHtmlUrl in class GHObject
        Returns:
        the html url
      • getRoot

        @Deprecated
        public GitHub getRoot()
        Deprecated.
        For access to the GitHub instance, use a local copy instead of pulling it out of objects.
        Get the root GitHub instance for this object.
        Returns:
        the root GitHub instance