public static class GHEventPayload.Status extends GHEventPayload
GHEventPayload.CheckRun, GHEventPayload.CommitComment, GHEventPayload.Create, GHEventPayload.Delete, GHEventPayload.Deployment, GHEventPayload.DeploymentStatus, GHEventPayload.Fork, GHEventPayload.Issue, GHEventPayload.IssueComment, GHEventPayload.Ping, GHEventPayload.Public, GHEventPayload.PullRequest, GHEventPayload.PullRequestReview, GHEventPayload.PullRequestReviewComment, GHEventPayload.Push, GHEventPayload.Release, GHEventPayload.Repository, GHEventPayload.Statusroot| Constructor and Description |
|---|
Status() |
| Modifier and Type | Method and Description |
|---|---|
GHCommit |
getCommit()
Gets the commit associated with the status event.
|
String |
getContext()
Gets the status content.
|
String |
getDescription()
Gets the status description.
|
GHRepository |
getRepository()
Gets the repository associated with the status event.
|
GHCommitState |
getState()
Gets the status state.
|
void |
setCommit(GHCommit commit)
Sets the commit associated with the status event.
|
void |
setRepository(GHRepository repository)
Sets the repository associated with the status event.
|
void |
setState(GHCommitState state)
Sets the status stage.
|
getSender, setSenderpublic String getContext()
public String getDescription()
public GHCommitState getState()
public void setState(GHCommitState state)
state - status statepublic GHCommit getCommit()
public void setCommit(GHCommit commit)
commit - commitpublic GHRepository getRepository()
public void setRepository(GHRepository repository)
repository - repositoryCopyright © 2020. All rights reserved.