Class GHSubscriberEvent
- java.lang.Object
-
- jenkins.scm.api.SCMEvent<String>
-
- org.jenkinsci.plugins.github.extension.GHSubscriberEvent
-
public class GHSubscriberEvent extends jenkins.scm.api.SCMEvent<String>
An event for aGHEventsSubscriber
.- Since:
- 1.26.0
-
-
Constructor Summary
Constructors Constructor Description GHSubscriberEvent(String origin, org.kohsuke.github.GHEvent ghEvent, String payload)
Constructs a newGHSubscriberEvent
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.kohsuke.github.GHEvent
getGHEvent()
Gets the type of event received.
-
-
-
Constructor Detail
-
GHSubscriberEvent
public GHSubscriberEvent(@CheckForNull String origin, @NonNull org.kohsuke.github.GHEvent ghEvent, @NonNull String payload)
Constructs a newGHSubscriberEvent
.- Parameters:
origin
- the origin (seeSCMEvent.originOf(javax.servlet.http.HttpServletRequest)
) ornull
.ghEvent
- the type of event received from GitHub.payload
- the event payload.
-
-