Class GithubNotificationAgent
java.lang.Object
com.netflix.spinnaker.echo.notification.AbstractEventNotificationAgent
com.netflix.spinnaker.echo.notification.GithubNotificationAgent
- All Implemented Interfaces:
com.netflix.spinnaker.echo.api.events.EventListener,com.netflix.spinnaker.kork.plugins.api.internal.SpinnakerExtensionPoint,org.pf4j.ExtensionPoint
@ConditionalOnProperty("github-status.enabled")
@Service
public class GithubNotificationAgent
extends com.netflix.spinnaker.echo.notification.AbstractEventNotificationAgent
-
Field Summary
Fields inherited from class com.netflix.spinnaker.echo.notification.AbstractEventNotificationAgent
mapper, spinnakerUrl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetToken()voidsendNotifications(Map preference, String application, com.netflix.spinnaker.echo.api.events.Event event, Map config, String status) voidsetGithubService(GithubService githubService) voidMethods inherited from class com.netflix.spinnaker.echo.notification.AbstractEventNotificationAgent
getSpinnakerUrl, processEventMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.netflix.spinnaker.kork.plugins.api.internal.SpinnakerExtensionPoint
getExtensionClass, getPluginId
-
Constructor Details
-
GithubNotificationAgent
public GithubNotificationAgent()
-
-
Method Details
-
sendNotifications
public void sendNotifications(Map preference, String application, com.netflix.spinnaker.echo.api.events.Event event, Map config, String status) - Specified by:
sendNotificationsin classcom.netflix.spinnaker.echo.notification.AbstractEventNotificationAgent
-
getNotificationType
- Specified by:
getNotificationTypein classcom.netflix.spinnaker.echo.notification.AbstractEventNotificationAgent
-
getGithubService
-
setGithubService
-
getToken
-
setToken
-