Package com.cloudogu.scmmanager.scm
Class ScmManagerPullRequestEvent
java.lang.Object
jenkins.scm.api.SCMEvent<P>
jenkins.scm.api.SCMHeadEvent<com.cloudogu.scmmanager.scm.ScmManagerHeadEvent.TriggerPayload>
com.cloudogu.scmmanager.scm.ScmManagerPullRequestEvent
public class ScmManagerPullRequestEvent
extends jenkins.scm.api.SCMHeadEvent<com.cloudogu.scmmanager.scm.ScmManagerHeadEvent.TriggerPayload>
-
Nested Class Summary
Nested classes/interfaces inherited from class jenkins.scm.api.SCMEvent
jenkins.scm.api.SCMEvent.Dispatcher<E extends jenkins.scm.api.SCMEvent<?>>, jenkins.scm.api.SCMEvent.EventQueueMetrics, jenkins.scm.api.SCMEvent.Type
-
Field Summary
Fields inherited from class jenkins.scm.api.SCMEvent
ORIGIN_UNKNOWN
-
Constructor Summary
ConstructorDescriptionScmManagerPullRequestEvent
(jenkins.scm.api.SCMEvent.Type type, net.sf.json.JSONObject form, Collection<net.sf.json.JSONObject> pullRequests) -
Method Summary
Methods inherited from class jenkins.scm.api.SCMHeadEvent
descriptionFor, descriptionFor, descriptionFor, filter, fireLater, fireNow
Methods inherited from class jenkins.scm.api.SCMEvent
asCauses, closeExecutorService, description, equals, executorService, getDate, getEventProcessingMetrics, getOrigin, getPayload, getTimestamp, getType, hashCode, originOf, toString
-
Constructor Details
-
ScmManagerPullRequestEvent
public ScmManagerPullRequestEvent(jenkins.scm.api.SCMEvent.Type type, net.sf.json.JSONObject form, Collection<net.sf.json.JSONObject> pullRequests)
-
-
Method Details
-
getSourceName
- Specified by:
getSourceName
in classjenkins.scm.api.SCMHeadEvent<com.cloudogu.scmmanager.scm.ScmManagerHeadEvent.TriggerPayload>
-
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<com.cloudogu.scmmanager.scm.ScmManagerHeadEvent.TriggerPayload>
-
isMatch
public boolean isMatch(@NonNull jenkins.scm.api.SCMSource source) - Overrides:
isMatch
in classjenkins.scm.api.SCMHeadEvent<com.cloudogu.scmmanager.scm.ScmManagerHeadEvent.TriggerPayload>
-
isMatch
- Specified by:
isMatch
in classjenkins.scm.api.SCMHeadEvent<com.cloudogu.scmmanager.scm.ScmManagerHeadEvent.TriggerPayload>