public class GHDeployment extends GHObject
| Modifier and Type | Field and Description |
|---|---|
protected GHUser |
creator |
protected String |
description |
protected String |
environment |
protected Object |
payload |
protected String |
ref |
protected String |
repository_url |
protected String |
sha |
protected String |
statuses_url |
protected String |
task |
created_at, id, responseHeaderFields, updated_at, url| Constructor and Description |
|---|
GHDeployment() |
| Modifier and Type | Method and Description |
|---|---|
GHDeploymentStatusBuilder |
createStatus(GHDeploymentState state)
Create status gh deployment status builder.
|
GHUser |
getCreator()
Gets creator.
|
String |
getEnvironment()
Gets environment.
|
URL |
getHtmlUrl()
Deprecated.
This object has no HTML URL.
|
String |
getPayload()
Gets payload.
|
String |
getRef()
Gets ref.
|
URL |
getRepositoryUrl()
Gets repository url.
|
String |
getSha()
Gets sha.
|
URL |
getStatusesUrl()
Gets statuses url.
|
String |
getTask()
Gets task.
|
PagedIterable<GHDeploymentStatus> |
listStatuses()
List statuses paged iterable.
|
getCreatedAt, getId, getResponseHeaderFields, getUpdatedAt, getUrl, toStringprotected String sha
protected String ref
protected String task
protected Object payload
protected String environment
protected String description
protected String statuses_url
protected String repository_url
protected GHUser creator
public URL getStatusesUrl()
public URL getRepositoryUrl()
public String getTask()
public String getPayload()
public String getEnvironment()
public GHUser getCreator() throws IOException
IOException - the io exceptionpublic String getRef()
public String getSha()
public URL getHtmlUrl()
GHObjectgetHtmlUrl in class GHObjectpublic GHDeploymentStatusBuilder createStatus(GHDeploymentState state)
state - the statepublic PagedIterable<GHDeploymentStatus> listStatuses()
Copyright © 2020. All rights reserved.