Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AbstractGitHubNotificationStrategy is not an ExtensionPoint #295

Merged

Conversation

jglick
Copy link
Member

@jglick jglick commented Apr 13, 2020

Amends #162. An ExtensionPoint is an interface you could implement as a singleton and apply an @Extension to. (Traditionally it is also used on Describables, though technically the actual extension point is the corresponding Descriptor.) https://github.com/jenkinsci/github-scm-trait-notification-context-plugin/blob/f5cb5c1a32fc6da2775d6791285d5a5901dbee8a/src/main/java/org/jenkinsci/plugins/githubScmTraitNotificationContext/NotificationContextTrait.java#L51-L76 confirms that the actual extension point here remains the SCMSourceTrait[Descriptor].

@bitwiseman bitwiseman closed this Apr 14, 2020
@bitwiseman bitwiseman reopened this Apr 14, 2020
@bitwiseman bitwiseman merged commit 9d1f48e into jenkinsci:master Apr 14, 2020
@jglick jglick deleted the AbstractGitHubNotificationStrategy branch April 14, 2020 02:37
@steven-foster
Copy link
Contributor

Whoops! I had no idea what I was doing. I mean, I still don't, but yeah. Thanks for the cleanup.

@jglick
Copy link
Member Author

jglick commented Apr 14, 2020

Not a problem at all, just something I noticed while trying to read through sources in this plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants