Class GithubWebhookPayload
java.lang.Object
com.atlassian.bamboo.plugins.git.rest.entity.GithubWebhookPayload
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRef()booleanbooleanstatic GithubWebhookPayloadof(String ref, String action, GithubWebhookPayload.Repository repository, GithubWebhookPayload.PullRequest pullRequest, boolean created, boolean deleted) @NotNull io.atlassian.fugue.Either<UnsupportedOperationException, Optional<GithubEvent>>
-
Constructor Details
-
GithubWebhookPayload
public GithubWebhookPayload()
-
-
Method Details
-
of
public static GithubWebhookPayload of(String ref, String action, GithubWebhookPayload.Repository repository, GithubWebhookPayload.PullRequest pullRequest, boolean created, boolean deleted) -
toEvent
@NotNull public @NotNull io.atlassian.fugue.Either<UnsupportedOperationException,Optional<GithubEvent>> toEvent(GithubWebhooksXEventHeader type) -
getRef
-
getAction
-
getRepository
-
getPullRequest
-
isCreated
public boolean isCreated() -
isDeleted
public boolean isDeleted()
-