Package org.kohsuke.github
Class GHDeploymentStatus
- java.lang.Object
-
- org.kohsuke.github.GHObject
-
- org.kohsuke.github.GHDeploymentStatus
-
public class GHDeploymentStatus extends GHObject
The type GHDeploymentStatus.
-
-
Field Summary
Fields Modifier and Type Field Description protected GHUsercreatorThe creator.protected Stringdeployment_urlThe deployment url.protected StringdescriptionThe description.protected Stringenvironment_urlThe environment url.protected Stringlog_urlThe log url.protected Stringrepository_urlThe repository url.protected StringstateThe state.protected Stringtarget_urlThe target url.-
Fields inherited from class org.kohsuke.github.GHObject
responseHeaderFields
-
-
Constructor Summary
Constructors Constructor Description GHDeploymentStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description URLgetDeploymentUrl()Gets deployment url.URLgetEnvironmentUrl()Deprecated.until preview feature has graduated to stableURLgetHtmlUrl()Deprecated.This object has no HTML URL.URLgetLogUrl()Deprecated.until preview feature has graduated to stableURLgetRepositoryUrl()Gets repository url.GitHubgetRoot()Deprecated.For access to theGitHubinstance, use a local copy instead of pulling it out of objects.GHDeploymentStategetState()Gets state.URLgetTargetUrl()Deprecated.Target url is deprecated in favor ofgetLogUrlGHDeploymentStatuswrap(GHRepository owner)Deprecated.-
Methods inherited from class org.kohsuke.github.GHObject
getCreatedAt, getId, getNodeId, getResponseHeaderFields, getUpdatedAt, getUrl, setResponseHeaderFields, toString
-
-
-
-
Field Detail
-
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.
-
-
Method Detail
-
wrap
@Deprecated public GHDeploymentStatus wrap(GHRepository owner)
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 ofgetLogUrlGets target url.- Returns:
- the target url
-
getLogUrl
@Preview(ANT_MAN) public URL getLogUrl()
Deprecated.until preview feature has graduated to stableGets 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 stableGets 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:
getHtmlUrlin classGHObject- Returns:
- the html url
-
getRoot
@Deprecated public GitHub getRoot()
Deprecated.For access to theGitHubinstance, use a local copy instead of pulling it out of objects.Get the rootGitHubinstance for this object.- Returns:
- the root
GitHubinstance
-
-