Class DefaultGitHubNotificationStrategy
java.lang.Object
org.jenkinsci.plugins.github_branch_source.AbstractGitHubNotificationStrategy
org.jenkinsci.plugins.github_branch_source.DefaultGitHubNotificationStrategy
Default implementation of
AbstractGitHubNotificationStrategy
- Since:
- 2.3.2
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
notifications
(GitHubNotificationContext notificationContext, TaskListener listener) Creates the list ofGitHubNotificationRequest
for the given context.
-
Constructor Details
-
DefaultGitHubNotificationStrategy
public DefaultGitHubNotificationStrategy()
-
-
Method Details
-
notifications
public List<GitHubNotificationRequest> notifications(GitHubNotificationContext notificationContext, TaskListener listener) Creates the list ofGitHubNotificationRequest
for the given context.- Specified by:
notifications
in classAbstractGitHubNotificationStrategy
- Parameters:
notificationContext
-GitHubNotificationContext
the context detailslistener
- the listener- Returns:
- a list of notification requests
-
equals
- Specified by:
equals
in classAbstractGitHubNotificationStrategy
-
hashCode
public int hashCode()- Specified by:
hashCode
in classAbstractGitHubNotificationStrategy
-