Class GitHubPRHandler
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<GitHubHandler>
-
- com.github.kostyasha.github.integration.multibranch.handler.GitHubHandler
-
- com.github.kostyasha.github.integration.multibranch.handler.GitHubPRHandler
-
- All Implemented Interfaces:
Describable<GitHubHandler>
public class GitHubPRHandler extends GitHubHandler
- Author:
- Kanstantsin Shautsou
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GitHubPRHandler.DescriptorImpl
-
Constructor Summary
Constructors Constructor Description GitHubPRHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GitHubPRHandler.DescriptorImpl
getDescriptor()
List<GitHubPREvent>
getEvents()
void
handle(GitHubSourceContext context)
GitHubPRHandler
setEvents(List<GitHubPREvent> events)
-
Methods inherited from class com.github.kostyasha.github.integration.multibranch.handler.GitHubHandler
processCauses
-
-
-
-
Method Detail
-
getEvents
public List<GitHubPREvent> getEvents()
-
setEvents
@DataBoundSetter public GitHubPRHandler setEvents(List<GitHubPREvent> events)
-
getDescriptor
public GitHubPRHandler.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<GitHubHandler>
- Overrides:
getDescriptor
in classAbstractDescribableImpl<GitHubHandler>
-
handle
public void handle(@NonNull GitHubSourceContext context) throws IOException
- Specified by:
handle
in classGitHubHandler
- Throws:
IOException
-
-