Class GHDeploymentStatus

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

public class GHDeploymentStatus extends GHObject
The type GHDeploymentStatus.
  • Field Details

    • creator

      protected GHUser creator
      The creator.
    • state

      protected String state
      The state.
    • description

      protected String description
      The description.
    • target_url

      protected String target_url
      The target url.
    • log_url

      protected String log_url
      The log url.
    • deployment_url

      protected String deployment_url
      The deployment url.
    • repository_url

      protected String repository_url
      The repository url.
    • environment_url

      protected String environment_url
      The environment url.
  • Constructor Details

    • GHDeploymentStatus

      public GHDeploymentStatus()
  • Method Details

    • wrap

      Deprecated.
      Wrap gh deployment status.
      Parameters:
      owner - the owner
      Returns:
      the gh deployment status
    • getTargetUrl

      @Deprecated public URL getTargetUrl()
      Deprecated.
      Target url is deprecated in favor of getLogUrl
      Gets target url.
      Returns:
      the target url
    • getLogUrl

      @Preview(ANT_MAN) public URL getLogUrl()
      Deprecated.
      until preview feature has graduated to stable
      Gets target url.

      This method replaces getTargetUrl}.

      Returns:
      the target url
    • getDeploymentUrl

      public URL getDeploymentUrl()
      Gets deployment url.
      Returns:
      the deployment url
    • getEnvironmentUrl

      @Preview(ANT_MAN) public URL getEnvironmentUrl()
      Deprecated.
      until preview feature has graduated to stable
      Gets deployment environment url.
      Returns:
      the deployment environment url
    • getRepositoryUrl

      public URL getRepositoryUrl()
      Gets repository url.
      Returns:
      the repository url
    • getState

      public GHDeploymentState getState()
      Gets state.
      Returns:
      the state
    • 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