Class AbstractGitHubNotificationStrategy
java.lang.Object
org.jenkinsci.plugins.github_branch_source.AbstractGitHubNotificationStrategy
- Direct Known Subclasses:
DefaultGitHubNotificationStrategy
Represents a strategy for constructing GitHub status notifications
- Since:
- 2.3.2
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
abstract int
hashCode()
abstract List<GitHubNotificationRequest>
notifications
(GitHubNotificationContext notificationContext, TaskListener listener) Creates the list ofGitHubNotificationRequest
for the given context.
-
Constructor Details
-
AbstractGitHubNotificationStrategy
public AbstractGitHubNotificationStrategy()
-
-
Method Details
-
notifications
public abstract List<GitHubNotificationRequest> notifications(GitHubNotificationContext notificationContext, TaskListener listener) Creates the list ofGitHubNotificationRequest
for the given context.- Parameters:
notificationContext
-GitHubNotificationContext
the context detailslistener
- the listener- Returns:
- a list of notification requests
- Since:
- 2.3.2
-
equals
-
hashCode
public abstract int hashCode()
-