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 GHUsercreatorprotected Stringdeployment_urlprotected Stringdescriptionprotected Stringenvironment_urlprotected Stringlog_urlprotected Stringrepository_urlprotected Stringstateprotected Stringtarget_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.GHDeploymentStategetState()Gets state.URLgetTargetUrl()Deprecated.Target url is deprecated in favor ofgetLogUrlGHDeploymentStatuswrap(GHRepository owner)Wrap gh deployment status.-
Methods inherited from class org.kohsuke.github.GHObject
getCreatedAt, getId, getNodeId, getResponseHeaderFields, getUpdatedAt, getUrl, setResponseHeaderFields, toString
-
-
-
-
Field Detail
-
creator
protected GHUser creator
-
state
protected String state
-
description
protected String description
-
target_url
protected String target_url
-
log_url
protected String log_url
-
deployment_url
protected String deployment_url
-
repository_url
protected String repository_url
-
environment_url
protected String environment_url
-
-
Method Detail
-
wrap
public GHDeploymentStatus wrap(GHRepository owner)
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.Description copied from class:GHObjectGets html url.- Specified by:
getHtmlUrlin classGHObject- Returns:
- URL of this object for humans, which renders some HTML.
-
-