Class GitHubPullRequestScmHeadEvent
- java.lang.Object
-
- jenkins.scm.api.SCMEvent<P>
-
- jenkins.scm.api.SCMHeadEvent<T>
-
- com.github.kostyasha.github.integration.multibranch.hooks.GitHubScmHeadEvent<PullRequestInfo>
-
- com.github.kostyasha.github.integration.multibranch.hooks.GitHubPullRequestScmHeadEvent
-
public class GitHubPullRequestScmHeadEvent extends GitHubScmHeadEvent<PullRequestInfo>
- Author:
- Kanstantsin Shautsou
-
-
Constructor Summary
Constructors Constructor Description GitHubPullRequestScmHeadEvent(jenkins.scm.api.SCMEvent.Type type, long timestamp, PullRequestInfo payload, String origin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getSourceRepo()
Map<jenkins.scm.api.SCMHead,jenkins.scm.api.SCMRevision>
heads(jenkins.scm.api.SCMSource source)
boolean
isMatch(SCM scm)
-
Methods inherited from class com.github.kostyasha.github.integration.multibranch.hooks.GitHubScmHeadEvent
getSourceName, getSourceRepo, isMatch, isMatch
-
Methods inherited from class jenkins.scm.api.SCMHeadEvent
descriptionFor, descriptionFor, descriptionFor, filter, fireLater, fireNow
-
-
-
-
Constructor Detail
-
GitHubPullRequestScmHeadEvent
public GitHubPullRequestScmHeadEvent(@NonNull jenkins.scm.api.SCMEvent.Type type, long timestamp, @NonNull PullRequestInfo payload, @CheckForNull String origin)
-
-
Method Detail
-
getSourceRepo
@NonNull protected String getSourceRepo()
- Specified by:
getSourceRepo
in classGitHubScmHeadEvent<PullRequestInfo>
-
heads
@NonNull public Map<jenkins.scm.api.SCMHead,jenkins.scm.api.SCMRevision> heads(@NonNull jenkins.scm.api.SCMSource source)
- Specified by:
heads
in classjenkins.scm.api.SCMHeadEvent<PullRequestInfo>
-
isMatch
public boolean isMatch(@NonNull SCM scm)
- Overrides:
isMatch
in classGitHubScmHeadEvent<PullRequestInfo>
-
-