Class DefaultGitHubNotificationStrategy
- java.lang.Object
-
- org.jenkinsci.plugins.github_branch_source.AbstractGitHubNotificationStrategy
-
- org.jenkinsci.plugins.github_branch_source.DefaultGitHubNotificationStrategy
-
public final class DefaultGitHubNotificationStrategy extends AbstractGitHubNotificationStrategy
Default implementation ofAbstractGitHubNotificationStrategy
- Since:
- 2.3.2
-
-
Constructor Summary
Constructors Constructor Description DefaultGitHubNotificationStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
List<GitHubNotificationRequest>
notifications(GitHubNotificationContext notificationContext, TaskListener listener)
Creates the list ofGitHubNotificationRequest
for the given context.
-
-
-
Method Detail
-
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
public boolean equals(Object o)
- Specified by:
equals
in classAbstractGitHubNotificationStrategy
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classAbstractGitHubNotificationStrategy
-
-