Class AbstractGitHubNotificationStrategy
- java.lang.Object
-
- org.jenkinsci.plugins.github_branch_source.AbstractGitHubNotificationStrategy
-
- Direct Known Subclasses:
DefaultGitHubNotificationStrategy
public abstract class AbstractGitHubNotificationStrategy extends Object
Represents a strategy for constructing GitHub status notifications- Since:
- 2.3.2
-
-
Constructor Summary
Constructors Constructor Description AbstractGitHubNotificationStrategy()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract boolean
equals(Object o)
abstract int
hashCode()
abstract List<GitHubNotificationRequest>
notifications(GitHubNotificationContext notificationContext, TaskListener listener)
Creates the list ofGitHubNotificationRequest
for the given context.
-
-
-
Method Detail
-
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
-
-