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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()notifications(GitHubNotificationContext notificationContext, TaskListener listener) Creates the list ofGitHubNotificationRequestfor the given context.
-
Constructor Details
-
DefaultGitHubNotificationStrategy
public DefaultGitHubNotificationStrategy()
-
-
Method Details
-
notifications
public List<GitHubNotificationRequest> notifications(GitHubNotificationContext notificationContext, TaskListener listener) Creates the list ofGitHubNotificationRequestfor the given context.- Specified by:
notificationsin classAbstractGitHubNotificationStrategy- Parameters:
notificationContext-GitHubNotificationContextthe context detailslistener- the listener- Returns:
- a list of notification requests
-
equals
- Specified by:
equalsin classAbstractGitHubNotificationStrategy
-
hashCode
public int hashCode()- Specified by:
hashCodein classAbstractGitHubNotificationStrategy
-