Package org.kohsuke.github
Class GHEventPayload.Status
- java.lang.Object
-
- org.kohsuke.github.GHEventPayload
-
- org.kohsuke.github.GHEventPayload.Status
-
- Enclosing class:
- GHEventPayload
public static class GHEventPayload.Status extends GHEventPayload
A git commit status was changed.- See Also:
- authoritative source
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.kohsuke.github.GHEventPayload
GHEventPayload.CheckRun, GHEventPayload.CheckSuite, GHEventPayload.CommitComment, GHEventPayload.Create, GHEventPayload.Delete, GHEventPayload.Deployment, GHEventPayload.DeploymentStatus, GHEventPayload.Fork, GHEventPayload.Installation, GHEventPayload.InstallationRepositories, GHEventPayload.Issue, GHEventPayload.IssueComment, GHEventPayload.Ping, GHEventPayload.Public, GHEventPayload.PullRequest, GHEventPayload.PullRequestReview, GHEventPayload.PullRequestReviewComment, GHEventPayload.Push, GHEventPayload.Release, GHEventPayload.Repository, GHEventPayload.Status
-
-
Field Summary
-
Fields inherited from class org.kohsuke.github.GHEventPayload
root
-
-
Constructor Summary
Constructors Constructor Description Status()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GHCommitgetCommit()Gets the commit associated with the status event.StringgetContext()Gets the status content.StringgetDescription()Gets the status description.GHRepositorygetRepository()Gets the repository associated with the status event.GHCommitStategetState()Gets the status state.voidsetCommit(GHCommit commit)Sets the commit associated with the status event.voidsetRepository(GHRepository repository)Sets the repository associated with the status event.voidsetState(GHCommitState state)Sets the status stage.-
Methods inherited from class org.kohsuke.github.GHEventPayload
getSender, setSender
-
-
-
-
Method Detail
-
getContext
public String getContext()
Gets the status content.- Returns:
- status content
-
getDescription
public String getDescription()
Gets the status description.- Returns:
- status description
-
getState
public GHCommitState getState()
Gets the status state.- Returns:
- status state
-
setState
public void setState(GHCommitState state)
Sets the status stage.- Parameters:
state- status state
-
getCommit
public GHCommit getCommit()
Gets the commit associated with the status event.- Returns:
- commit
-
setCommit
public void setCommit(GHCommit commit)
Sets the commit associated with the status event.- Parameters:
commit- commit
-
getRepository
public GHRepository getRepository()
Gets the repository associated with the status event.- Returns:
- repository
-
setRepository
public void setRepository(GHRepository repository)
Sets the repository associated with the status event.- Parameters:
repository- repository
-
-