Package org.kohsuke.github
Class GHEventPayload.Create
- java.lang.Object
-
- org.kohsuke.github.GHEventPayload
-
- org.kohsuke.github.GHEventPayload.Create
-
- Enclosing class:
- GHEventPayload
public static class GHEventPayload.Create extends GHEventPayload
A repository, branch, or tag was created- See Also:
- authoritative source
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.kohsuke.github.GHEventPayload
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
-
-
Field Summary
-
Fields inherited from class org.kohsuke.github.GHEventPayload
root
-
-
Constructor Summary
Constructors Constructor Description Create()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Gets description.StringgetMasterBranch()Gets master branch.StringgetRef()Gets ref.StringgetRefType()Gets ref type.GHRepositorygetRepository()Gets repository.voidsetRepository(GHRepository repository)Sets repository.-
Methods inherited from class org.kohsuke.github.GHEventPayload
getSender, setSender
-
-
-
-
Method Detail
-
getRef
public String getRef()
Gets ref.- Returns:
- the ref
-
getRefType
public String getRefType()
Gets ref type.- Returns:
- the ref type
-
getMasterBranch
public String getMasterBranch()
Gets master branch.- Returns:
- the master branch
-
getDescription
public String getDescription()
Gets description.- Returns:
- the description
-
getRepository
public GHRepository getRepository()
Gets repository.- Returns:
- the repository
-
setRepository
public void setRepository(GHRepository repository)
Sets repository.- Parameters:
repository- the repository
-
-